1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- Adapt for new libffi, and various fixes

PR:		ports/122399
Submitted by:	Bjoern Koenig <bkoenig@alpha-tierchen.de> (maintainer)
This commit is contained in:
Pav Lucistnik 2008-04-04 12:59:53 +00:00
parent 5fa5b0a327
commit 389cde614a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210497

View File

@ -7,8 +7,8 @@
PORTNAME= sablevm
PORTVERSION= 1.13
PORTREVISION= 1
CATEGORIES= java
PORTREVISION= 2
CATEGORIES= java devel
MASTER_SITES= SF
MAINTAINER= bkoenig@alpha-tierchen.de
@ -20,9 +20,13 @@ LIB_DEPENDS= popt:${PORTSDIR}/devel/popt \
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libltdl
USE_GMAKE= yes
USE_GETTEXT= yes
USE_ICONV= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CFLAGS="-I${PREFIX}/include -L${PREFIX}/lib -I${LOCALBASE}/include -L${LOCALBASE}/lib"
USE_GNOME= pkgconfig
PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include `${PKG_CONFIG} libffi --cflags`" LDFLAGS="-L${LOCALBASE}/lib"
OPTIONS= SVMCP "Install SableVM classpath" ON \
MAN "Build and install man pages" ON
@ -32,12 +36,11 @@ CONFLICTS= classpath-*
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_SVMCP)
RUN_DEPENDS+= ${LOCALBASE}/share/sablevm-classpath/java/lang/Object.class:${PORTSDIR}/java/sablevm-classpath
RUN_DEPENDS+= ${LOCALBASE}/lib/sablevm-classpath/libjavalang.so:${PORTSDIR}/java/sablevm-classpath
.endif
.if !defined(WITHOUT_MAN)
MAN1= java-sablevm.1 sablevm.1
.else
.endif
post-extract: