aboutsummaryrefslogtreecommitdiffstats
path: root/net/xmlrpc-c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-31 12:24:00 +0800
committerkris <kris@FreeBSD.org>2002-03-31 12:24:00 +0800
commitb31daf7fc909cfd33a899c812b0cae0c242ece1f (patch)
tree90e4d62645a6126f749b67b6b77063ee917f00c0 /net/xmlrpc-c
parent9e7633aebc4230be7d645fc205e8ba1a3de494e6 (diff)
downloadfreebsd-ports-gnome-b31daf7fc909cfd33a899c812b0cae0c242ece1f.tar.gz
freebsd-ports-gnome-b31daf7fc909cfd33a899c812b0cae0c242ece1f.tar.zst
freebsd-ports-gnome-b31daf7fc909cfd33a899c812b0cae0c242ece1f.zip
Remove #include <malloc.h>
Diffstat (limited to 'net/xmlrpc-c')
-rw-r--r--net/xmlrpc-c/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/xmlrpc-c/Makefile b/net/xmlrpc-c/Makefile
index 49dda0358700..618b47f09036 100644
--- a/net/xmlrpc-c/Makefile
+++ b/net/xmlrpc-c/Makefile
@@ -25,6 +25,12 @@ MAN1= meerkat-app-list.1 xml-rpc-api2cpp.1 xmlrpc-c-config.1 \
query-meerkat.1 xml-rpc-api2txt.1
MAN7= xmlrpc-c.7
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/lib/abyss/src/data.c \
+ ${WRKSRC}/tools/turbocharger/mod_gzip.c \
+ ${WRKSRC}/tools/turbocharger/mod_gzip.c
+
post-install:
@${RM} -f ${PREFIX}/lib/*.la