diff options
author | Vlastimil Babka <caster@gentoo.org> | 2011-11-06 23:22:43 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2011-11-06 23:22:43 +0000 |
commit | 534113e3af67dff4fd3786543e780d084fa3f1ff (patch) | |
tree | f4a27fdd55fef45e0b72b60e7ce7a4bd02f7b76c /dev-java/icedtea | |
parent | Initial ebuild #382751 by hal. (diff) | |
download | gentoo-2-534113e3af67dff4fd3786543e780d084fa3f1ff.tar.gz gentoo-2-534113e3af67dff4fd3786543e780d084fa3f1ff.tar.bz2 gentoo-2-534113e3af67dff4fd3786543e780d084fa3f1ff.zip |
Fix build due to missing ant class when xalan and xerces are not installed, bug #389625.
(Portage version: 2.2.0_alpha68/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/icedtea')
-rw-r--r-- | dev-java/icedtea/ChangeLog | 6 | ||||
-rw-r--r-- | dev-java/icedtea/icedtea-7.2.0-r1.ebuild | 13 |
2 files changed, 10 insertions, 9 deletions
diff --git a/dev-java/icedtea/ChangeLog b/dev-java/icedtea/ChangeLog index d55ef00b7f8c..3100d7dd21ad 100644 --- a/dev-java/icedtea/ChangeLog +++ b/dev-java/icedtea/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/icedtea # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/ChangeLog,v 1.40 2011/11/05 23:35:28 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/ChangeLog,v 1.41 2011/11/06 23:22:43 caster Exp $ + + 06 Nov 2011; Vlastimil Babka <caster@gentoo.org> icedtea-7.2.0-r1.ebuild: + Fix build due to missing ant class when xalan and xerces are not installed, + bug #389625. 05 Nov 2011; Vlastimil Babka <caster@gentoo.org> icedtea-7.2.0-r1.ebuild: Relax lcms dep to allow the stable 2.0a satisfy it. diff --git a/dev-java/icedtea/icedtea-7.2.0-r1.ebuild b/dev-java/icedtea/icedtea-7.2.0-r1.ebuild index 9aaba9bccca8..964ab3452472 100644 --- a/dev-java/icedtea/icedtea-7.2.0-r1.ebuild +++ b/dev-java/icedtea/icedtea-7.2.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.0-r1.ebuild,v 1.4 2011/11/05 23:35:28 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.0-r1.ebuild,v 1.5 2011/11/06 23:22:43 caster Exp $ # Build written by Andrew John Hughes (gnu_andrew@member.fsf.org) # ********************************************************* @@ -74,9 +74,7 @@ RDEPEND=">=net-print/cups-1.2.12 # Additional dependencies for building: # zip: extract OpenJDK tarball, and needed by configure # ant, ecj, jdk: required to build Java code -# Only ant-core-1.7.1-r2 and later contain a version of Ant that -# properly respects environment variables, if the build -# sets some environment variables. +# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present. # ca-certificates, perl and openssl are used for the cacerts keystore generation # xext headers have two variants depending on version - bug #288855 # autoconf - as long as we use eautoreconf, version restrictions for bug #294918 @@ -90,7 +88,7 @@ DEPEND="${RDEPEND} ) app-arch/zip >=dev-libs/libxslt-1.1.26 - >=dev-java/ant-core-1.7.1-r2 + >=dev-java/ant-core-1.8.1 dev-java/ant-nodeps app-misc/ca-certificates dev-lang/perl @@ -231,9 +229,8 @@ src_compile() { # an environment variable so it works properly... export ANT_RESPECT_JAVA_HOME=TRUE - # ant -diagnostics in Ant 1.8.0 fails without xerces+xalan - # otherwise we try to load the least that's needed to avoid possible classpath collisions - export ANT_TASKS="xerces-2 xalan ant-nodeps" + # We try to load the least that's needed to avoid possible classpath collisions + export ANT_TASKS="ant-nodeps" emake -j 1 } |