summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2007-10-26 05:50:01 +0000
committerjkoshy <jkoshy@FreeBSD.org>2007-10-26 05:50:01 +0000
commit91bbe2dd7bf2718bf667c5ece5567a9818da5337 (patch)
treee7b2b9686edb1c7db56fd967a283fcf0d5d9c8a7 /lang
parentec26a871067b3c3211af304c5cb5f21874049f73 (diff)
downloadFreeBSD-ports-91bbe2dd7bf2718bf667c5ece5567a9818da5337.zip
FreeBSD-ports-91bbe2dd7bf2718bf667c5ece5567a9818da5337.tar.gz
Fix a memory corruption/core dump that is reproduceable in my
FreeBSD/amd64 6-stable environment [1]. Unbreak the port. Submitted by: Matthew Flatt <mflatt at cs dot utah dot edu> [1]
Diffstat (limited to 'lang')
-rw-r--r--lang/drscheme/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/lang/drscheme/Makefile b/lang/drscheme/Makefile
index cb6509d..6f2a08c 100644
--- a/lang/drscheme/Makefile
+++ b/lang/drscheme/Makefile
@@ -28,18 +28,17 @@ LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft \
jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
-BROKEN= Segfault during build
-
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --enable-shared --enable-xft --enable-gl \
--enable-xrender --enable-cairo --with-x --enable-pthread \
--enable-lt=${LIBTOOL} \
--x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib \
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
- CPPFLAGS="-I${LOCALBASE}/include"
+ CPPFLAGS="${CPPFLAGS}"
# Force the "configure" script to look in $LOCALBASE for -lpng and -ljpeg
LDFLAGS+= -L${LOCALBASE}/lib
+CPPFLAGS+= -I${LOCALBASE}/include
WRKSRC= ${WRKDIR}/plt-${PORTVERSION}/src
USE_ICONV= yes
@@ -68,4 +67,8 @@ PLIST_SUB+= CGC=""
PLIST_SUB+= CGC="@comment "
.endif
+.if ${ARCH} == "amd64"
+CPPFLAGS+= -DLONG64
+.endif
+
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud