sci-mathematics/maxima: Migrate also the stable ebuild to L10N.
authorUlrich Müller <ulm@gentoo.org>
Sun, 7 Jan 2018 16:56:55 +0000 (17:56 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sun, 7 Jan 2018 16:57:38 +0000 (17:57 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

sci-mathematics/maxima/maxima-5.38.1.ebuild
sci-mathematics/maxima/maxima-5.41.0.ebuild

index af6a58ee43530b0b234d3b5444986aff2dcf3f23..66c232a18d7a6b65de029eba4b0d5e95f2fcb5ac 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -27,7 +27,7 @@ IUSE="emacs tk nls unicode X ${LISPS[*]}"
 # Languages
 LANGS="de es pt pt_BR"
 for lang in ${LANGS}; do
-       IUSE="${IUSE} linguas_${lang}"
+       IUSE="${IUSE} l10n_${lang/_/-}"
 done
 
 # texlive-latexrecommended needed by imaxima for breqn.sty
@@ -131,7 +131,7 @@ src_configure() {
        # enable existing translated doc
        if use nls; then
                for lang in ${LANGS}; do
-                       if use "linguas_${lang}"; then
+                       if use "l10n_${lang/_/-}"; then
                                CONFS="${CONFS} --enable-lang-${lang}"
                                use unicode && CONFS="${CONFS} --enable-lang-${lang}-utf8"
                        fi
index 8bdc377e84864cb83a83e3cef621470390a1d244..cf8753a2f9e66568832cd8ef19a39c16da3b29ac 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -27,7 +27,7 @@ IUSE="emacs tk nls unicode X ${LISPS[*]}"
 # Languages
 LANGS="de es pt pt_BR"
 for lang in ${LANGS}; do
-       IUSE="${IUSE} linguas_${lang}"
+       IUSE="${IUSE} l10n_${lang/_/-}"
 done
 
 # texlive-latexrecommended needed by imaxima for breqn.sty
@@ -131,7 +131,7 @@ src_configure() {
        # enable existing translated doc
        if use nls; then
                for lang in ${LANGS}; do
-                       if use "linguas_${lang}"; then
+                       if use "l10n_${lang/_/-}"; then
                                CONFS="${CONFS} --enable-lang-${lang}"
                                use unicode && CONFS="${CONFS} --enable-lang-${lang}-utf8"
                        fi