summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2007-10-26 05:50:01 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2007-10-26 05:50:01 +0000
commit3ba7474585209e6b82a0fc94bec4b9e30125a975 (patch)
tree82a5b765a99809cf23d9ea2f2b8132ee8b5e0cdd /lang
parent - add a missing file to the pllist (diff)
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]
Notes
Notes: svn path=/head/; revision=202053
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 cb6509d84b58..6f2a08c67d01 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>