diff options
-rw-r--r-- | java/jxgrabkey/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/java/jxgrabkey/Makefile b/java/jxgrabkey/Makefile index 9b882e200b0f..f7e195b72c1f 100644 --- a/java/jxgrabkey/Makefile +++ b/java/jxgrabkey/Makefile @@ -20,11 +20,12 @@ TEST_BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:java/junit \ MAKE_ENV+= JAVA_HOME=${JAVA_HOME} OPSYS=${OPSYS} PLIST_FILES= %%JAVAJARDIR%%/JXGrabKey.jar lib/libJXGrabKey.so USE_LDCONFIG= yes +ANT_ARGS= -Djavac.source=1.7 -Djavac.target=1.7 do-build: ${SETENV} ${MAKE_ENV} ${MAKE} -C ${WRKSRC}/JXGrabKey/C++ \ -f ${FILESDIR}/Makefile.JXGrabKey libJXGrabKey.so - cd ${WRKSRC}/JXGrabKey/Java && ${ANT} -verbose jar + cd ${WRKSRC}/JXGrabKey/Java && ${ANT} -verbose jar ${ANT_ARGS} do-install: ${INSTALL_LIB} ${WRKSRC}/JXGrabKey/C++/libJXGrabKey.so ${STAGEDIR}${PREFIX}/lib/ @@ -36,6 +37,7 @@ do-test-TEST-on: build ${SETENV} CLASSPATH=${JAVALIBDIR}/junit.jar:${JAVALIBDIR}/hamcrest.jar \ LD_LIBRARY_PATH=${WRKSRC}/JXGrabKey/C++ \ ${ANT} -Djavac.classpath=${JAVALIBDIR}/junit.jar \ + ${ANT_ARGS} \ test .include <bsd.port.mk> |