summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/lucene/lucene-2.2.0.ebuild')
-rw-r--r--dev-java/lucene/lucene-2.2.0.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-java/lucene/lucene-2.2.0.ebuild b/dev-java/lucene/lucene-2.2.0.ebuild
index c151dde39b35..8c68481c1610 100644
--- a/dev-java/lucene/lucene-2.2.0.ebuild
+++ b/dev-java/lucene/lucene-2.2.0.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.2.0.ebuild,v 1.3 2008/11/01 09:39:23 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.2.0.ebuild,v 1.4 2011/01/31 21:19:52 grobian Exp $
+
+EAPI=3
JAVA_PKG_IUSE="doc source test"
JAVA_PKG_BSFIX_ALL="no"
@@ -27,7 +29,7 @@ src_compile() {
# doesn't use it - it's to fool the <available> test, first time
# it's useful not to have ignoresystemclasses=true...
ANT_TASKS="ant-nodeps javacc" eant \
- -Djavacc.home=/usr/share/javacc/lib javacc
+ -Djavacc.home="${EPREFIX}"/usr/share/javacc/lib javacc
ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs)
}