diff options
author | Vlastimil Babka <caster@gentoo.org> | 2011-09-09 09:16:56 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2011-09-09 09:16:56 +0000 |
commit | 4a7d0161c57d3fcda533bbca52b9adf5d22d8ba4 (patch) | |
tree | 2bb39e90f6d0b65225c2b67b307c8827b2fef6cd /dev-java | |
parent | Version bump wtforms to 0.6.3. (diff) | |
download | gentoo-2-4a7d0161c57d3fcda533bbca52b9adf5d22d8ba4.tar.gz gentoo-2-4a7d0161c57d3fcda533bbca52b9adf5d22d8ba4.tar.bz2 gentoo-2-4a7d0161c57d3fcda533bbca52b9adf5d22d8ba4.zip |
Use java-pkg-simple eclass to build just the netx.jar we need and nothing else. The included build system assumes icedtea is used, causing bug #382351.
(Portage version: 2.2.0_alpha54/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/netx/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/netx/netx-1.1.2.ebuild | 18 |
2 files changed, 14 insertions, 10 deletions
diff --git a/dev-java/netx/ChangeLog b/dev-java/netx/ChangeLog index 2b55985d841a..866ccde6167e 100644 --- a/dev-java/netx/ChangeLog +++ b/dev-java/netx/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/netx # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/netx/ChangeLog,v 1.1 2011/09/08 11:22:15 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/netx/ChangeLog,v 1.2 2011/09/09 09:16:56 caster Exp $ + + 09 Sep 2011; Vlastimil Babka <caster@gentoo.org> netx-1.1.2.ebuild: + Use java-pkg-simple eclass to build just the netx.jar we need and nothing + else. The included build system assumes icedtea is used, causing bug #382351. *netx-1.1.2 (08 Sep 2011) diff --git a/dev-java/netx/netx-1.1.2.ebuild b/dev-java/netx/netx-1.1.2.ebuild index 69f544e0504a..f0dcd1cc730b 100644 --- a/dev-java/netx/netx-1.1.2.ebuild +++ b/dev-java/netx/netx-1.1.2.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/netx/netx-1.1.2.ebuild,v 1.1 2011/09/08 11:22:15 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/netx/netx-1.1.2.ebuild,v 1.2 2011/09/09 09:16:56 caster Exp $ EAPI="4" JAVA_PKG_IUSE="source" -inherit eutils java-pkg-2 +inherit eutils java-pkg-2 java-pkg-simple -DESCRIPTION="IcedTea JNLP implementation" +DESCRIPTION="Open-source JNLP implementation, icedtea-web fork" HOMEPAGE="http://icedtea.classpath.org" SRC_URI="http://icedtea.classpath.org/download/source/icedtea-web-${PV}.tar.gz" @@ -24,15 +24,15 @@ RDEPEND=">=virtual/jre-1.6 S="${WORKDIR}/icedtea-web-${PV}/" -src_configure() { - econf --with-rhino $(java-pkg_getjar rhino-1.6 js.jar) || die -} +JAVA_GENTOO_CLASSPATH="rhino-1.6" +JAVA_SRC_DIR="netx" -src_compile() { - emake netx-dist || die +# we don't use the icedtea-web buildsystem because it relies on icedtea for the parts we don't need here +src_configure() { + :; } src_install() { - java-pkg_newjar "${S}"/netx.build/lib/classes.jar ${PN}.jar + java-pkg_dojar ${PN}.jar use source && java-pkg_dosrc netx/* } |