diff options
author | glewis <glewis@FreeBSD.org> | 2004-06-10 02:19:58 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-06-10 02:19:58 +0800 |
commit | 2f28b95aceba24833f5b5c53710396b487541eab (patch) | |
tree | 0575709b2ebfe4186c1cb76992a687f5777b2b51 /net/javadc | |
parent | c69baf82a7123c8d3ea9981b9a635f8427d0fbc5 (diff) | |
download | freebsd-ports-gnome-2f28b95aceba24833f5b5c53710396b487541eab.tar.gz freebsd-ports-gnome-2f28b95aceba24833f5b5c53710396b487541eab.tar.zst freebsd-ports-gnome-2f28b95aceba24833f5b5c53710396b487541eab.zip |
. 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/javadc')
-rw-r--r-- | net/javadc/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/javadc/Makefile b/net/javadc/Makefile index c9fa4c89f5a9..0cf6bb7b7443 100644 --- a/net/javadc/Makefile +++ b/net/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} * |