diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-06-09 18:19:58 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-06-09 18:19:58 +0000 |
commit | faea2dea3687b56f64ccab9785d1291eb98d75b4 (patch) | |
tree | 20adfad952afb979d8d867a922660d660d2b494b /net-p2p/javadc/Makefile | |
parent | . Switched stage 6 and 7 so JAVAC is no longer empty when not using jikes (diff) |
. bsd.java.mk 2.0 compliant
. Fix build:
. Enforce USE_JIKES=no as jikes won't let import statements contain no
package name
. Enforce JAVA_VERSION=1.3 as JDK 1.4 won't let import statements
contain no package name
. Re-enabled error statements while compiling
PR: 66349
Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Diffstat (limited to 'net-p2p/javadc/Makefile')
-rw-r--r-- | net-p2p/javadc/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net-p2p/javadc/Makefile b/net-p2p/javadc/Makefile index c9fa4c89f5a9..0cf6bb7b7443 100644 --- a/net-p2p/javadc/Makefile +++ b/net-p2p/javadc/Makefile @@ -14,8 +14,9 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Open source Java DirectConnect (TM) command-line client -USE_JAVA= 1.2+ -NEED_JAVAC= YES +USE_JAVA= yes +JAVA_VERSION= 1.3 +USE_JIKES= no WRKSRC= ${WRKDIR}/DirectConnect${PORTVERSION} BUILD_WRKSRC= ${WRKDIR}/classes PLIST_SUB= JAR_DIR=${JAR_DIR} \ @@ -36,7 +37,7 @@ post-patch: # as far as build goes... ;) do-build: @${MKDIR} ${BUILD_WRKSRC} - @${JAVAC} -d ${BUILD_WRKSRC} -classpath ${BUILD_WRKSRC} ${CLASS_SRCDIR}/*.java 2>/dev/null + @${JAVAC} -d ${BUILD_WRKSRC} -classpath ${BUILD_WRKSRC} ${CLASS_SRCDIR}/*.java @${CP} ${CLASS_SRCDIR}/*.txt ${BUILD_WRKSRC} @cd ${BUILD_WRKSRC} && ${JAR} -cmf ${JAR_MANIFEST} ${WRKDIR}/${JAR_FILE} * |