summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2008-02-02 19:16:06 +0000
committerVlastimil Babka <caster@gentoo.org>2008-02-02 19:16:06 +0000
commit531b0c8daf0893db6ffa1833fddf9fb0cd9d06ea (patch)
tree5cfe3716def083b9db4b69e0aea50fda30affbb0 /dev-java/lucene
parentVersion bump of x11-wm/xmonad-contrib (diff)
downloadgentoo-2-531b0c8daf0893db6ffa1833fddf9fb0cd9d06ea.tar.gz
gentoo-2-531b0c8daf0893db6ffa1833fddf9fb0cd9d06ea.tar.bz2
gentoo-2-531b0c8daf0893db6ffa1833fddf9fb0cd9d06ea.zip
Fix building with USE=doc so it doesn't try to run tests anymore. Bug #208351.
(Portage version: 2.1.4.1)
Diffstat (limited to 'dev-java/lucene')
-rw-r--r--dev-java/lucene/ChangeLog5
-rw-r--r--dev-java/lucene/lucene-2.3.0.ebuild7
2 files changed, 8 insertions, 4 deletions
diff --git a/dev-java/lucene/ChangeLog b/dev-java/lucene/ChangeLog
index 2f7cf83a7711..76d438c737ce 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.45 2008/01/29 09:06:34 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.46 2008/02/02 19:16:06 caster Exp $
+
+ 02 Feb 2008; Vlastimil Babka <caster@gentoo.org> lucene-2.3.0.ebuild:
+ Fix building with USE=doc so it doesn't try to run tests anymore. Bug #208351.
29 Jan 2008; Vlastimil Babka <caster@gentoo.org> lucene-2.3.0.ebuild:
Fix SRC_URI, bug #207992.
diff --git a/dev-java/lucene/lucene-2.3.0.ebuild b/dev-java/lucene/lucene-2.3.0.ebuild
index 6961a98733f9..22d1b4241603 100644
--- a/dev-java/lucene/lucene-2.3.0.ebuild
+++ b/dev-java/lucene/lucene-2.3.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.3.0.ebuild,v 1.2 2008/01/29 09:06:34 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.3.0.ebuild,v 1.3 2008/02/02 19:16:06 caster Exp $
JAVA_PKG_IUSE="doc source test"
JAVA_PKG_BSFIX_ALL="no"
@@ -30,7 +30,7 @@ src_compile() {
# it's useful not to have ignoresystemclasses=true...
ANT_TASKS="ant-nodeps javacc" eant \
-Djavacc.home=/usr/share/javacc/lib javacc
- ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs)
+ ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo)
}
src_test() {
@@ -46,7 +46,8 @@ src_install() {
if use doc; then
dohtml -r docs/* || die
- java-pkg_dojavadoc build/docs/api
+ # for the core and demo subdirs
+ java-pkg_dohtml -r build/docs/api
fi
use source && java-pkg_dosrc src/java/org
}