aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2016-08-24 13:53:24 +0800
committerjkim <jkim@FreeBSD.org>2016-08-24 13:53:24 +0800
commit0ba28ec3bc8b2402295f1b734fe82f027a47f9f1 (patch)
treeb5b69b9d340486f7f931b0a06ec6379bcc3cd6a9 /net
parentbd7e7813e2aec8c4dac1b1680a45620b2a4d5af4 (diff)
downloadfreebsd-ports-gnome-0ba28ec3bc8b2402295f1b734fe82f027a47f9f1.tar.gz
freebsd-ports-gnome-0ba28ec3bc8b2402295f1b734fe82f027a47f9f1.tar.zst
freebsd-ports-gnome-0ba28ec3bc8b2402295f1b734fe82f027a47f9f1.zip
Fix USE_JAVA and unbreak build.
Diffstat (limited to 'net')
-rw-r--r--net/tn5250j/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/net/tn5250j/Makefile b/net/tn5250j/Makefile
index 225c4d521701..0b1d2842800a 100644
--- a/net/tn5250j/Makefile
+++ b/net/tn5250j/Makefile
@@ -24,9 +24,10 @@ RUN_DEPENDS= ${JAVAJARDIR}/mail.jar:java/javamail \
USES= dos2unix zip
USE_ANT= yes
-USE_JAVA= 1.3+
+USE_JAVA= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DOS2UNIX_FILES= build.xml
+JAVA_VERSION= 1.6 1.7
ALL_TARGET= package
MAKE_ENV+= CLASSPATH=${JYTHON_PREFIX}
@@ -45,10 +46,6 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${JAVA_PORT_VERSION:M1.8.*}
-BROKEN= Does not build with JDK 1.8
-.endif
-
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/tn5250j ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/build/tn5250j.jar ${STAGEDIR}${JAVAJARDIR}