diff options
author | Lim Swee Tat <st_lim@gentoo.org> | 2004-05-20 17:01:13 +0000 |
---|---|---|
committer | Lim Swee Tat <st_lim@gentoo.org> | 2004-05-20 17:01:13 +0000 |
commit | 96518dac2e583e7e4d9071bdf8390c6de2acb9da (patch) | |
tree | f5e2d4a2e40fc73cd00f31af6605d4a5cef54dc2 /dev-java/quartz | |
parent | Initial commit (Manifest recommit) (diff) | |
download | gentoo-2-96518dac2e583e7e4d9071bdf8390c6de2acb9da.tar.gz gentoo-2-96518dac2e583e7e4d9071bdf8390c6de2acb9da.tar.bz2 gentoo-2-96518dac2e583e7e4d9071bdf8390c6de2acb9da.zip |
Fixed a minor problem with compilation with the wrong targets
Diffstat (limited to 'dev-java/quartz')
-rw-r--r-- | dev-java/quartz/quartz-1.3.4.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
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" } |