aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2016-05-18 20:48:55 +0800
committerjohans <johans@FreeBSD.org>2016-05-18 20:48:55 +0800
commitd857f2e47982d50ec7ff8bf07efcc9b9f7e88c1f (patch)
tree282a7991026091abebd388d6b4a85a6d06bb8357 /lang
parent04adafa87486ea416ec28651d86f0f3f7bf2fd10 (diff)
downloadfreebsd-ports-gnome-d857f2e47982d50ec7ff8bf07efcc9b9f7e88c1f.tar.gz
freebsd-ports-gnome-d857f2e47982d50ec7ff8bf07efcc9b9f7e88c1f.tar.zst
freebsd-ports-gnome-d857f2e47982d50ec7ff8bf07efcc9b9f7e88c1f.zip
Remove deprecated reference to malloc.h
Reported by: Nikolaj Thygesen
Diffstat (limited to 'lang')
-rw-r--r--lang/swi-pl/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/swi-pl/Makefile b/lang/swi-pl/Makefile
index 92e40cff0f74..48b5fb02c810 100644
--- a/lang/swi-pl/Makefile
+++ b/lang/swi-pl/Makefile
@@ -3,6 +3,7 @@
PORTNAME= swi-pl
PORTVERSION= 7.2.3
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.swi-prolog.org/download/stable/src/
DISTNAME= swipl-${PORTVERSION}
@@ -13,9 +14,6 @@ COMMENT= Edinburgh-style Prolog compiler
LIB_DEPENDS= libgmp.so:math/gmp \
libodbc.so:databases/unixODBC
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
SWIPLDIR= ${PORTNAME:C/-//}-${PORTVERSION}
NOPRECIOUSMAKEVARS= yes
@@ -67,6 +65,8 @@ post-patch:
@${REINPLACE_CMD} -e '/EXAMPLEEXE/s/INSTALL_PROGRAM/INSTALL_SCRIPT/' \
${WRKSRC}/packages/http/Makefile.in \
${WRKSRC}/packages/pldoc/Makefile.in
+ @${REINPLACE_CMD} -e 's/malloc\.h/stdlib.h/' \
+ ${WRKSRC}/packages/cpp/SWI-cpp.h
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xpce-client \