diff options
author | Vlastimil Babka <caster@gentoo.org> | 2011-02-13 11:46:22 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2011-02-13 11:46:22 +0000 |
commit | 6d6f5508491a337affe6e12fd5f3e5c32efd9638 (patch) | |
tree | d62fe1be843d0a4282a163fd3908211490c52881 /virtual | |
parent | Update homepage (bug #354705 by Justin Lecher). (diff) | |
download | gentoo-2-6d6f5508491a337affe6e12fd5f3e5c32efd9638.tar.gz gentoo-2-6d6f5508491a337affe6e12fd5f3e5c32efd9638.tar.bz2 gentoo-2-6d6f5508491a337affe6e12fd5f3e5c32efd9638.zip |
Reorganize the keyword-specific logic for better readability (and more verbosity). Add icedtea as a variant for ppc/ppc64
(Portage version: 2.2.0_alpha23/cvs/Linux x86_64)
Diffstat (limited to 'virtual')
-rw-r--r-- | virtual/jdk/ChangeLog | 8 | ||||
-rw-r--r-- | virtual/jdk/jdk-1.6.0.ebuild | 59 |
2 files changed, 48 insertions, 19 deletions
diff --git a/virtual/jdk/ChangeLog b/virtual/jdk/ChangeLog index bcdab9839466..98c29549616a 100644 --- a/virtual/jdk/ChangeLog +++ b/virtual/jdk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for virtual/jdk -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/virtual/jdk/ChangeLog,v 1.34 2010/11/14 01:08:00 caster Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/virtual/jdk/ChangeLog,v 1.35 2011/02/13 11:46:22 caster Exp $ + + 13 Feb 2011; Vlastimil Babka <caster@gentoo.org> jdk-1.6.0.ebuild: + Reorganize the keyword-specific logic for better readability (and more + verbosity). Add icedtea as a variant for ppc/ppc64 14 Nov 2010; Vlastimil Babka <caster@gentoo.org> jdk-1.5.0.ebuild: Add gcj-jdk to 1.5 list. diff --git a/virtual/jdk/jdk-1.6.0.ebuild b/virtual/jdk/jdk-1.6.0.ebuild index 1f3705e34a0a..a3d5cf32ce53 100644 --- a/virtual/jdk/jdk-1.6.0.ebuild +++ b/virtual/jdk/jdk-1.6.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/virtual/jdk/jdk-1.6.0.ebuild,v 1.18 2010/03/04 23:47:11 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/virtual/jdk/jdk-1.6.0.ebuild,v 1.19 2011/02/13 11:46:22 caster Exp $ DESCRIPTION="Virtual for JDK" HOMEPAGE="" @@ -18,26 +18,51 @@ IUSE="" # see #287615 # note that this "voodoo" is pretty annoying for Prefix, and that we didn't # invent it in the first place! -RDEPEND="|| ( - amd64? ( dev-java/icedtea6-bin ) - x86? ( dev-java/icedtea6-bin ) - amd64-linux? ( dev-java/icedtea6-bin ) - x86-linux? ( dev-java/icedtea6-bin ) - amd64? ( =dev-java/icedtea-6* ) - x86? ( =dev-java/icedtea-6* ) - amd64? ( =dev-java/sun-jdk-1.6.0* ) - x86? ( =dev-java/sun-jdk-1.6.0* ) - amd64-linux? ( =dev-java/sun-jdk-1.6.0* ) - x86-linux? ( =dev-java/sun-jdk-1.6.0* ) - x64-solaris? ( =dev-java/sun-jdk-1.6.0* ) - x86-solaris? ( =dev-java/sun-jdk-1.6.0* ) - sparc-solaris? ( =dev-java/sun-jdk-1.6.0* ) - sparc64-solaris? ( =dev-java/sun-jdk-1.6.0* ) + +COMMON_INC=" =dev-java/ibm-jdk-bin-1.6.0* =dev-java/hp-jdk-bin-1.6.0* =dev-java/diablo-jdk-1.6.0* =dev-java/soylatte-jdk-bin-1.0* =dev-java/apple-jdk-bin-1.6.0* =dev-java/winjdk-bin-1.6.0* +" + +X86_OPTS="|| ( + dev-java/icedtea6-bin + =dev-java/icedtea-6* + =dev-java/sun-jdk-1.6.0* + ${COMMON_INC} + )" + +X86_PREFIX_OPTS="|| ( + dev-java/icedtea6-bin + =dev-java/sun-jdk-1.6.0* + ${COMMON_INC} + )" + +PPC_OPTS="|| ( + =dev-java/ibm-jdk-bin-1.6.0* + =dev-java/icedtea-6* + )" + +COMMON_OPTS="|| ( + ${COMMON_INC} + )" + +RDEPEND="|| ( + amd64? ( ${X86_OPTS} ) + x86? ( ${X86_OPTS} ) + ppc? ( ${PPC_OPTS} ) + ppc64? ( ${PPC_OPTS} ) + amd64-linux? ( ${X86_PREFIX_OPTS} ) + x86-linux? ( ${X86_PREFIX_OPTS} ) + x64-solaris? ( ${X86_PREFIX_OPTS} ) + x86-solaris? ( ${X86_PREFIX_OPTS} ) + sparc-solaris? ( ${X86_PREFIX_OPTS} ) + sparc64-solaris? ( ${X86_PREFIX_OPTS} ) + !amd64? ( !x86? ( !ppc? ( !ppc64? ( !amd64-linux? ( !x86-linux? ( !x64-solaris? ( !x86-solaris? ( !sparc-solaris? ( !sparc64-solaris? ( + ${COMMON_OPTS} + ) ) ) ) ) ) ) ) ) ) )" DEPEND="" |