diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-04-15 18:31:06 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-04-15 18:31:06 +0000 |
commit | eaedf068ffacc403aa683d1dc8b29d93ffcac971 (patch) | |
tree | 31002e57ebbd0a5d3ff87689a971be662da06272 /net/spread-j | |
parent | dd28ecc9f81aed73cdf9fd423c7b820311e1125a (diff) |
. Empirically this port appears to require 1.4 to compile. So set this
as the version and make sure ant uses it.
Notes
Notes:
svn path=/head/; revision=107140
Diffstat (limited to 'net/spread-j')
-rw-r--r-- | net/spread-j/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/spread-j/Makefile b/net/spread-j/Makefile index 96636d2c735d..074723988b97 100644 --- a/net/spread-j/Makefile +++ b/net/spread-j/Makefile @@ -16,7 +16,7 @@ COMMENT= Java client library for the Spread Group Communication System BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant -USE_JAVA= 1.2+ +USE_JAVA= 1.4+ USE_JIKES= yes JAVALIBDIR= ${PREFIX}/share/java/classes PKGMESSAGE= ${WRKSRC}/../license.txt @@ -36,7 +36,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/java PLIST_SUB+= JAVALIBDIR=share/java/classes do-build: - @cd ${WRKSRC} && ${ANT} ${ANT_TARGET} ${ANT_PARAMS} + @cd ${WRKSRC} && \ + ${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT} ${ANT_TARGET} ${ANT_PARAMS} do-install: @cd ${WRKSRC} && ${ANT} install ${ANT_PARAMS} |