sys-block/ms-sys: Test LINGUAS rather than linguas_* USE flags.
authorUlrich Müller <ulm@gentoo.org>
Sun, 7 Jan 2018 14:49:18 +0000 (15:49 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sun, 7 Jan 2018 14:49:46 +0000 (15:49 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

sys-block/ms-sys/ms-sys-2.4.0.ebuild
sys-block/ms-sys/ms-sys-2.5.3.ebuild

index 5069d9ea03d169e64c875d09a0c48b08fa65e662..af51e97c92db2e5c4830655ac7c165fcf9e5495b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -12,7 +12,6 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="linguas_sv"
 
 DEPEND="sys-devel/gettext"
 RDEPEND="virtual/libintl"
@@ -24,7 +23,7 @@ src_compile() {
 
 src_install() {
        local nls=""
-       if ! use linguas_sv ; then
+       if ! has sv ${LINGUAS-sv} ; then
                nls='NLS_FILES='
        fi
 
index ab13347f7f5cd4dd68ea65ac9bda917353df9a5a..32e1eb0d72c9fe4c67903addc2b44be3cbc78674 100644 (file)
@@ -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
@@ -12,7 +12,6 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="linguas_sv"
 
 DEPEND="sys-devel/gettext"
 RDEPEND="virtual/libintl"
@@ -24,7 +23,7 @@ src_compile() {
 
 src_install() {
        local nls=""
-       if ! use linguas_sv ; then
+       if ! has sv ${LINGUAS-sv} ; then
                nls='NLS_FILES='
        fi