summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-09-09 23:56:08 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-09-09 23:56:08 +0000
commit987ba4d20d3b14223086e2a040381289b47ab40f (patch)
treebd690b74ac35a5cb6a20e15a726927969a99e3a7
parentRemoved old (diff)
downloadgentoo-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)
-rw-r--r--dev-java/lucene/ChangeLog7
-rw-r--r--dev-java/lucene/lucene-2.4.0.ebuild11
2 files changed, 14 insertions, 4 deletions
diff --git a/dev-java/lucene/ChangeLog b/dev-java/lucene/ChangeLog
index a5d0d2e2bb54..614860b4abc5 100644
--- a/dev-java/lucene/ChangeLog
+++ b/dev-java/lucene/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/lucene
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.53 2008/11/01 09:39:23 robbat2 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.54 2009/09/09 23:56:08 robbat2 Exp $
+
+ 09 Sep 2009; Robin H. Johnson <robbat2@gentoo.org> lucene-2.4.0.ebuild:
+ Bug #270712: Fix build with non-Sun javac.
01 Nov 2008; Robin H. Johnson <robbat2@gentoo.org> lucene-1.4.3-r3.ebuild,
lucene-1.9.1.ebuild, lucene-2.1.0.ebuild, lucene-2.1.0-r1.ebuild,
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