diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-09-09 23:56:08 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-09-09 23:56:08 +0000 |
commit | 987ba4d20d3b14223086e2a040381289b47ab40f (patch) | |
tree | bd690b74ac35a5cb6a20e15a726927969a99e3a7 /dev-java/lucene/lucene-2.4.0.ebuild | |
parent | Removed old (diff) | |
download | gentoo-2-987ba4d20d3b14223086e2a040381289b47ab40f.tar.gz gentoo-2-987ba4d20d3b14223086e2a040381289b47ab40f.tar.bz2 gentoo-2-987ba4d20d3b14223086e2a040381289b47ab40f.zip |
Bug #270712: Fix build with non-Sun javac.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/lucene/lucene-2.4.0.ebuild')
-rw-r--r-- | dev-java/lucene/lucene-2.4.0.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-java/lucene/lucene-2.4.0.ebuild b/dev-java/lucene/lucene-2.4.0.ebuild index 8b9b38ab563d..b64c4571615c 100644 --- a/dev-java/lucene/lucene-2.4.0.ebuild +++ b/dev-java/lucene/lucene-2.4.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.4.0.ebuild,v 1.3 2008/11/01 09:39:23 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.4.0.ebuild,v 1.4 2009/09/09 23:56:08 robbat2 Exp $ JAVA_PKG_IUSE="doc source test" JAVA_PKG_BSFIX_ALL="no" @@ -23,6 +23,13 @@ DEPEND=">=virtual/jdk-1.4 test? ( dev-java/ant-junit =dev-java/junit-3* )" RDEPEND=">=virtual/jdk-1.4" +src_unpack() { + unpack "${A}" + cd "${S}" + + sed -i -e '/-Xmax/ d' common-build.xml +} + src_compile() { # regenerate javacc files just because we can # put javacc.jar on ant's classpath here even when <javacc> task |