diff options
-rw-r--r-- | lang/swi-pl/Makefile | 6 |
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 \ |