1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

support stage

This commit is contained in:
Baptiste Daroussin 2014-04-10 06:41:21 +00:00
parent fa29a2f8f7
commit 036cbe3e12
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350778

View File

@ -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>