aboutsummaryrefslogtreecommitdiffstats
path: root/java/jamvm
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-10 14:41:21 +0800
committerbapt <bapt@FreeBSD.org>2014-04-10 14:41:21 +0800
commit2c4906174384c35f6414dcedd1d2b6e9b1c33def (patch)
tree399b11954cbdfbaf84139ceed4db82dedbaf8ce6 /java/jamvm
parent332df08371926e2e4c8ab6c4e677da671c4b95a3 (diff)
downloadfreebsd-ports-gnome-2c4906174384c35f6414dcedd1d2b6e9b1c33def.tar.gz
freebsd-ports-gnome-2c4906174384c35f6414dcedd1d2b6e9b1c33def.tar.zst
freebsd-ports-gnome-2c4906174384c35f6414dcedd1d2b6e9b1c33def.zip
support stage
Diffstat (limited to 'java/jamvm')
-rw-r--r--java/jamvm/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/java/jamvm/Makefile b/java/jamvm/Makefile
index 400c6c4f8c9e..47e2445e9147 100644
--- a/java/jamvm/Makefile
+++ b/java/jamvm/Makefile
@@ -7,7 +7,7 @@ CATEGORIES= java devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/JamVM%20${PORTVERSION}
MAINTAINER= java@FreeBSD.org
-COMMENT= A compact Java virtual machine
+COMMENT= Compact Java virtual machine
LICENSE= GPLv2
@@ -15,19 +15,17 @@ RUN_DEPENDS= ${LOCALBASE}/share/classpath/glibj.zip:${PORTSDIR}/java/classpath
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-classpath-install-dir=${LOCALBASE}
-USE_GMAKE= yes
-USES= pkgconfig
+USES= gmake pkgconfig
OPTIONS_DEFINE= FFI ZIP
OPTIONS_DEFAULT=FFI ZIP
FFI_DESC= use libffi to call native methods
ZIP_DESC= turn-on zip support in the bootstrap loader
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFFI}
-LIB_DEPENDS+= ffi:${PORTSDIR}/devel/libffi
+LIB_DEPENDS+= libffi.so:${PORTSDIR}/devel/libffi
CONFIGURE_ARGS+= --enable-ffi
.elif ${ARCH} == "sparc64"
IGNORE= for ${ARCH} requires libffi
@@ -41,9 +39,7 @@ CONFIGURE_ARGS+= --disable-zip
PLIST_SUB+= WITH_ZIP="@comment " WITHOUT_ZIP=""
.endif
-.include <bsd.port.pre.mk>
-
post-extract:
@${REINPLACE_CMD} -e "s,\(^include_HEADERS = .*\)jni.h\(.*\),\1\2," ${WRKSRC}/src/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>