diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2007-08-23 12:33:00 +0800 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2007-08-23 12:33:00 +0800 |
commit | 6957530bf423a1a169409c15b5e66ae4b762e6d9 (patch) | |
tree | 18abfbef75abc246c7a5e42b490e22b338b7754a /lang | |
parent | 2574f69107121a3cc7cb9276abdedad5a76633c7 (diff) | |
download | freebsd-ports-gnome-6957530bf423a1a169409c15b5e66ae4b762e6d9.tar.gz freebsd-ports-gnome-6957530bf423a1a169409c15b5e66ae4b762e6d9.tar.zst freebsd-ports-gnome-6957530bf423a1a169409c15b5e66ae4b762e6d9.zip |
lang/neko: fixed compile error on amd64 6
- fixed compile error (6-RELEASE amd64, 7-CURRENT amd64)
PR: ports/115723
Submitted by: Masanori OZAWA <ozawa@ongs.co.jp> (maintainer)
Pointed out by: via krisbot
Diffstat (limited to 'lang')
-rw-r--r-- | lang/neko/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/neko/Makefile b/lang/neko/Makefile index a0b9ec42e84c..37208962e73e 100644 --- a/lang/neko/Makefile +++ b/lang/neko/Makefile @@ -7,6 +7,7 @@ PORTNAME= neko PORTVERSION= 1.6.0 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://nekovm.org/_media/ @@ -28,7 +29,9 @@ OPTIONS= APACHE13 "Build with mod_neko for Apache 1.3.x" off \ # Neko needs boehm-gc with POSIX thread support. BC_DIR!= cd ${PORTSDIR}/devel/boehm-gc && ${MAKE} -V WRKSRC +BC_MAKEARGS= BATCH=yes WITH_THREADING=true +BC_CFLAGS:= ${CFLAGS} CFLAGS= -I${WRKSRC} -I${PREFIX}/include LDFLAGS= -L${BC_DIR}/.libs -L${PREFIX}/lib LIBKEYNAME= @@ -91,6 +94,7 @@ PLIST_SUB+= GTK2="@comment " .endif .if ${ARCH} == "amd64" +BC_CFLAGS+= -fPIC CFLAGS+= -D_64BITS -fPIC .endif @@ -137,7 +141,7 @@ post-patch: pre-build: @(cd ${PORTSDIR}/devel/boehm-gc/ && \ - ${MAKE} BATCH=yes WITH_THREADING=true clean all) + ${MAKE} CFLAGS="${BC_CFLAGS}" ${BC_MAKEARGS} clean all) @${RM} -f ${BC_DIR}/.libs/*.so* @for BLIB in `${LS} ${BC_DIR}/.libs/libgc.*`; do \ ${MV} $${BLIB} `echo $${BLIB} | ${SED} -e 's/libgc/libnekogc/'`; \ |