1 |
commit: 9af40458b9903614781d813d558254b239c951c5 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 6 15:18:56 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 6 15:18:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9af40458 |
7 |
|
8 |
sys-apps/pv: Remove linguas_* from IUSE. |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
sys-apps/pv/pv-1.6.0-r1.ebuild | 5 ++--- |
13 |
sys-apps/pv/pv-1.6.6.ebuild | 5 ++--- |
14 |
2 files changed, 4 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/pv/pv-1.6.0-r1.ebuild b/sys-apps/pv/pv-1.6.0-r1.ebuild |
17 |
index 1a443a65954..03cae302ea4 100644 |
18 |
--- a/sys-apps/pv/pv-1.6.0-r1.ebuild |
19 |
+++ b/sys-apps/pv/pv-1.6.0-r1.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=5 |
26 |
@@ -14,7 +14,6 @@ KEYWORDS="alpha amd64 arm arm64 hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86 |
27 |
IUSE="debug nls" |
28 |
|
29 |
PV_LINGUAS=( de fr pl pt ) |
30 |
-IUSE+=" ${PV_LINGUAS[@]/#/linguas_}" |
31 |
|
32 |
DOCS=( README doc/NEWS doc/TODO ) |
33 |
|
34 |
@@ -38,7 +37,7 @@ src_configure() { |
35 |
tc-export AR |
36 |
local lingua |
37 |
for lingua in ${PV_LINGUAS[@]}; do |
38 |
- if ! use linguas_${lingua}; then |
39 |
+ if ! has ${lingua} ${LINGUAS-${lingua}}; then |
40 |
sed -i configure -e "/ALL_LINGUAS=/s:${lingua}::g" || die |
41 |
fi |
42 |
done |
43 |
|
44 |
diff --git a/sys-apps/pv/pv-1.6.6.ebuild b/sys-apps/pv/pv-1.6.6.ebuild |
45 |
index b3b8222481a..a411e2bb077 100644 |
46 |
--- a/sys-apps/pv/pv-1.6.6.ebuild |
47 |
+++ b/sys-apps/pv/pv-1.6.6.ebuild |
48 |
@@ -1,4 +1,4 @@ |
49 |
-# Copyright 1999-2017 Gentoo Foundation |
50 |
+# Copyright 1999-2018 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
|
53 |
EAPI=6 |
54 |
@@ -14,7 +14,6 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-l |
55 |
IUSE="debug nls" |
56 |
|
57 |
PV_LINGUAS=( de fr pl pt ) |
58 |
-IUSE+=" ${PV_LINGUAS[@]/#/linguas_}" |
59 |
|
60 |
DOCS=( README doc/NEWS doc/TODO ) |
61 |
|
62 |
@@ -41,7 +40,7 @@ src_configure() { |
63 |
tc-export AR |
64 |
local lingua |
65 |
for lingua in ${PV_LINGUAS[@]}; do |
66 |
- if ! use linguas_${lingua}; then |
67 |
+ if ! has ${lingua} ${LINGUAS-${lingua}}; then |
68 |
sed -i configure -e "/ALL_LINGUAS=/s:${lingua}::g" || die |
69 |
fi |
70 |
done |