mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-text/sdcv: Test LINGUAS rather than linguas_* USE flags.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -37,7 +37,7 @@ src_prepare() {
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
|
||||
# do not install locale-specific man pages unless asked to
|
||||
if ! use linguas_uk; then
|
||||
if ! has uk ${LINGUAS-uk}; then
|
||||
sed -ni '/share\/man\/uk/!p' CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user