1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Remove deprecated reference to malloc.h

Reported by:	Nikolaj Thygesen
This commit is contained in:
Johan van Selst 2016-05-18 12:48:55 +00:00
parent 0a10f65db4
commit 0dc9427deb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415438

View File

@ -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 \