dev-lang/icc: Migrate from LINGUAS to L10N.
authorUlrich Müller <ulm@gentoo.org>
Sun, 7 Jan 2018 20:28:09 +0000 (21:28 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sun, 7 Jan 2018 20:34:47 +0000 (21:34 +0100)
Update blocker against ifc, it needs to block only when l10n_ja is
enabled for both packages.

Bug: https://bugs.gentoo.org/476330
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-lang/icc/icc-13.1.5.192.ebuild
dev-lang/icc/icc-14.0.3.174.ebuild
dev-lang/icc/icc-15.0.6.233.ebuild

index 5abb6c4a24fecd3064827629aada800cd7360550..1d92c2151e1ede9c1e302367fcf5039a1c7a0867 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -13,11 +13,11 @@ inherit intel-sdp
 DESCRIPTION="Intel C/C++ Compiler"
 HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
 
-IUSE="linguas_ja"
+IUSE="l10n_ja"
 KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
 
-DEPEND="!dev-lang/ifc[linguas_ja]"
-RDEPEND="${DEPEND}
+# avoid file collision with ifc #476330
+RDEPEND="l10n_ja? ( !dev-lang/ifc[l10n_ja(-)] !dev-lang/ifc[linguas_ja(-)] )
        ~dev-libs/intel-common-${PV}[compiler,multilib=]"
 
 INTEL_BIN_RPMS="compilerproc compilerproc-devel"
@@ -26,7 +26,7 @@ INTEL_DAT_RPMS="compilerproc-common"
 CHECKREQS_DISK_BUILD=325M
 
 src_install() {
-       if ! use linguas_ja; then
+       if ! use l10n_ja; then
                find "${S}" -type d -name ja_JP -exec rm -rf '{}' + || die
        fi
        intel-sdp_src_install
index caffde47dfebb40a1e4c1604ba8c4c317e15df3e..3947fc7f2e97c61d1533fa12a4a26ebf382b6671 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,11 +14,11 @@ inherit intel-sdp
 DESCRIPTION="Intel C/C++ Compiler"
 HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
 
-IUSE="linguas_ja"
+IUSE="l10n_ja"
 KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
 
-DEPEND="!dev-lang/ifc[linguas_ja]"
-RDEPEND="${DEPEND}
+# avoid file collision with ifc #476330
+RDEPEND="l10n_ja? ( !dev-lang/ifc[l10n_ja(-)] !dev-lang/ifc[linguas_ja(-)] )
        ~dev-libs/intel-common-${PV}[compiler,multilib=]"
 
 INTEL_BIN_RPMS="compilerproc compilerproc-devel"
@@ -27,7 +27,7 @@ INTEL_DAT_RPMS="compilerproc-common"
 CHECKREQS_DISK_BUILD=325M
 
 src_install() {
-       if ! use linguas_ja; then
+       if ! use l10n_ja; then
                find "${S}" -type d -name ja_JP -exec rm -rf '{}' + || die
        fi
        intel-sdp_src_install
index 334b4b692b047cb0cfa0ce96cec887367be19064..781b103b1bba07200cc972610d31c97cc92ea0fc 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=5
@@ -14,11 +14,11 @@ inherit intel-sdp
 DESCRIPTION="Intel C/C++ Compiler"
 HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
 
-IUSE="linguas_ja"
+IUSE="l10n_ja"
 KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
 
-DEPEND="!dev-lang/ifc[linguas_ja]"
-RDEPEND="${DEPEND}
+# avoid file collision with ifc #476330
+RDEPEND="l10n_ja? ( !dev-lang/ifc[l10n_ja(-)] !dev-lang/ifc[linguas_ja(-)] )
        ~dev-libs/intel-common-${PV}[compiler,multilib=]"
 
 INTEL_BIN_RPMS="compilerproc compilerproc-devel"
@@ -27,7 +27,7 @@ INTEL_DAT_RPMS="compilerproc-common compilerproc-vars"
 CHECKREQS_DISK_BUILD=325M
 
 src_install() {
-       if ! use linguas_ja; then
+       if ! use l10n_ja; then
                find "${S}" -type d -name ja_JP -exec rm -rf '{}' + || die
        fi
        intel-sdp_src_install