diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2005-11-23 04:32:50 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2005-11-23 04:32:50 +0000 |
commit | 3db6d717cb4a6bcb7d827ac503d3f27f8554a73d (patch) | |
tree | 42da56198101c2d9fbb92015fb84d006f74ba0df /dev-util | |
parent | Stable on x86; bug #112666 (diff) | |
download | gentoo-2-3db6d717cb4a6bcb7d827ac503d3f27f8554a73d.tar.gz gentoo-2-3db6d717cb4a6bcb7d827ac503d3f27f8554a73d.tar.bz2 gentoo-2-3db6d717cb4a6bcb7d827ac503d3f27f8554a73d.zip |
Updated /usr/bin/j to use java-config for building classpath and finding java executable, instead of being hardcoded to the environment that was used at build time (bug #108794).
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/j/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/j/Manifest | 12 | ||||
-rw-r--r-- | dev-util/j/j-0.20.2.ebuild | 11 |
3 files changed, 17 insertions, 13 deletions
diff --git a/dev-util/j/ChangeLog b/dev-util/j/ChangeLog index 7ef03ea96aec..b29e5038acf5 100644 --- a/dev-util/j/ChangeLog +++ b/dev-util/j/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/j # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/j/ChangeLog,v 1.4 2005/05/07 15:08:53 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/j/ChangeLog,v 1.5 2005/11/23 04:32:50 nichoj Exp $ + + 23 Nov 2005; <nichoj@gentoo.org> j-0.20.2.ebuild: + Updated /usr/bin/j to use java-config for building classpath and finding java + executable, instead of being hardcoded to the environment that was used at + build time (bug #108794). 07 May 2005; David Holm <dholm@gentoo.org> j-0.20.2.ebuild: Added to ~ppc. diff --git a/dev-util/j/Manifest b/dev-util/j/Manifest index 2f7a174176ad..e9eda2bd9468 100644 --- a/dev-util/j/Manifest +++ b/dev-util/j/Manifest @@ -1,14 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 09372898067baac0ef1a0aff7a3074a3 j-0.20.2.ebuild 850 +MD5 0915dec55980ce480505457a819d3759 j-0.20.2.ebuild 1119 MD5 65b239fbdeaae70dab2f08de0f0d6dd5 ChangeLog 531 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 5db38fba0110d1a97df3e6a9cead72ed files/digest-j-0.20.2 61 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFC2VUB/rLF9B432nYRAunyAJ99LFhnO5VwuWtZynRyGVsfI9onHgCfdQ0X -6NP7qU3zREKEXUYkgLxYZz8= -=6Dn3 ------END PGP SIGNATURE----- diff --git a/dev-util/j/j-0.20.2.ebuild b/dev-util/j/j-0.20.2.ebuild index 71a8c42a55a2..fe1f89249fac 100644 --- a/dev-util/j/j-0.20.2.ebuild +++ b/dev-util/j/j-0.20.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/j/j-0.20.2.ebuild,v 1.7 2005/07/16 18:41:43 axxo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/j/j-0.20.2.ebuild,v 1.8 2005/11/23 04:32:50 nichoj Exp $ inherit java-pkg @@ -26,8 +26,17 @@ src_compile() { --mandir=/usr/share/man \ || die "./configure failed" emake || die + + # Fix the j script to use java-config, instead of hard-coded paths + sed -e 's/@JAVA@/$(java-config --java)/' \ + -e 's/@JAVA_OPTIONS@//' \ + -e 's/@CLASSPATH@/$(java-config -p xerces-2,j)/' j.in > j + } src_install() { einstall || die + + java-pkg_dojar ${D}/usr/share/j/j.jar + rm ${D}/usr/share/j/j.jar } |