summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLim Swee Tat <st_lim@gentoo.org>2004-05-20 17:01:13 +0000
committerLim Swee Tat <st_lim@gentoo.org>2004-05-20 17:01:13 +0000
commita3543f7b43f9e6bea53bbecab820f3d12a352cc5 (patch)
treecdd73d6ed80aab08bc6308bd7eb2624dd67b9340 /dev-java
parentInitial commit (diff)
downloadhistorical-a3543f7b43f9e6bea53bbecab820f3d12a352cc5.tar.gz
historical-a3543f7b43f9e6bea53bbecab820f3d12a352cc5.tar.bz2
historical-a3543f7b43f9e6bea53bbecab820f3d12a352cc5.zip
Fixed a minor problem with compilation with the wrong targets
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/quartz/Manifest2
-rw-r--r--dev-java/quartz/quartz-1.3.4.ebuild9
2 files changed, 6 insertions, 5 deletions
diff --git a/dev-java/quartz/Manifest b/dev-java/quartz/Manifest
index aeba5587d2c6..787f32be708e 100644
--- a/dev-java/quartz/Manifest
+++ b/dev-java/quartz/Manifest
@@ -1,4 +1,4 @@
MD5 70b5c4b2ad5de8b5ad59a27a446c29ff metadata.xml 221
-MD5 575fcb92d62f7d9e0c14b1b63444b027 quartz-1.3.4.ebuild 2146
+MD5 63f1ab69792bd9ff1ccb787c9068b69f quartz-1.3.4.ebuild 2159
MD5 a2efa88f39e94fb1f2d6c5ee1e6bee0f ChangeLog 360
MD5 2a356855e5f18bec4fa487120599d27a files/digest-quartz-1.3.4 65
diff --git a/dev-java/quartz/quartz-1.3.4.ebuild b/dev-java/quartz/quartz-1.3.4.ebuild
index d5209759e649..04c6f7b29509 100644
--- a/dev-java/quartz/quartz-1.3.4.ebuild
+++ b/dev-java/quartz/quartz-1.3.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/quartz/quartz-1.3.4.ebuild,v 1.1 2004/05/20 16:41:24 st_lim Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/quartz/quartz-1.3.4.ebuild,v 1.2 2004/05/20 17:01:13 st_lim Exp $
inherit java-pkg
USE="oracle servlet-2.3 servlet-2.4 dbcp jboss jta jmx struts jikes"
@@ -25,8 +25,7 @@ DEPEND=">=virtual/jdk-1.4
S=${WORKDIR}/${P}
src_compile() {
- local antflags="jar"
- use doc && antflags="${antflags} javadoc"
+ local antflags=""
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use servlet-2.3 && CLASSPATH="$CLASSPATH:`java-config -p servletapi-2.3`"
@@ -35,7 +34,6 @@ src_compile() {
use jta && CLASSPATH="$CLASSPATH:`java-config -p jta`"
use oracle && cp /usr/share/jdbc2-oracle-9.2.0.3/lib/classes12.zip ${S}/lib
if [ `use jboss` ]; then
- echo "Using jboss"
cp /usr/share/jboss/lib/jboss-common.jar ${S}/lib
cp /usr/share/jboss/lib/jboss-jmx.jar ${S}/lib
cp /usr/share/jboss/lib/jboss-system.jar ${S}/lib
@@ -47,6 +45,9 @@ src_compile() {
fi
use struts && cp /usr/share/struts/lib/struts.jar ${S}/lib
+ antflags="${antflags} compile jar"
+ use doc && antflags="${antflags} javadoc"
+
ant ${antflags} || die "compile failed"
}