summaryrefslogtreecommitdiff
path: root/lang/drscheme/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/drscheme/Makefile')
-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>