From 036cbe3e12bcd81ba0689c19e546eae310e0371a Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 10 Apr 2014 06:41:21 +0000 Subject: [PATCH] support stage --- java/jamvm/Makefile | 12 ++++-------- 1 file 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 .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 - post-extract: @${REINPLACE_CMD} -e "s,\(^include_HEADERS = .*\)jni.h\(.*\),\1\2," ${WRKSRC}/src/Makefile.in -.include +.include