diff options
author | glewis <glewis@FreeBSD.org> | 2004-04-16 02:31:06 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-04-16 02:31:06 +0800 |
commit | c2e14d60a691c4a60155ee6de25f814b24ba099f (patch) | |
tree | 9a70d03e012e92de7ec5c70643110527a84bab5e /net/spread-j | |
parent | 250bfd928f87be26eb386c81cced37ad422a4056 (diff) | |
download | freebsd-ports-gnome-c2e14d60a691c4a60155ee6de25f814b24ba099f.tar.gz freebsd-ports-gnome-c2e14d60a691c4a60155ee6de25f814b24ba099f.tar.zst freebsd-ports-gnome-c2e14d60a691c4a60155ee6de25f814b24ba099f.zip |
. Empirically this port appears to require 1.4 to compile. So set this
as the version and make sure ant uses it.
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} |