diff options
author | glewis <glewis@FreeBSD.org> | 2004-06-09 18:19:58 +0000 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-06-09 18:19:58 +0000 |
commit | 2f28b95aceba24833f5b5c53710396b487541eab (patch) | |
tree | 0575709b2ebfe4186c1cb76992a687f5777b2b51 /net-p2p/javadc/Makefile | |
parent | c69baf82a7123c8d3ea9981b9a635f8427d0fbc5 (diff) | |
download | FreeBSD-ports-2f28b95aceba24833f5b5c53710396b487541eab.zip FreeBSD-ports-2f28b95aceba24833f5b5c53710396b487541eab.tar.gz |
. 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 c9fa4c8..0cf6bb7 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} * |