summaryrefslogtreecommitdiffstats
path: root/net/xmlrpc-c-devel/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-31 04:24:00 +0000
committerkris <kris@FreeBSD.org>2002-03-31 04:24:00 +0000
commitb31daf7fc909cfd33a899c812b0cae0c242ece1f (patch)
tree90e4d62645a6126f749b67b6b77063ee917f00c0 /net/xmlrpc-c-devel/Makefile
parent9e7633aebc4230be7d645fc205e8ba1a3de494e6 (diff)
downloadFreeBSD-ports-b31daf7fc909cfd33a899c812b0cae0c242ece1f.zip
FreeBSD-ports-b31daf7fc909cfd33a899c812b0cae0c242ece1f.tar.gz
Remove #include <malloc.h>
Diffstat (limited to 'net/xmlrpc-c-devel/Makefile')
-rw-r--r--net/xmlrpc-c-devel/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/xmlrpc-c-devel/Makefile b/net/xmlrpc-c-devel/Makefile
index 49dda03..618b47f 100644
--- a/net/xmlrpc-c-devel/Makefile
+++ b/net/xmlrpc-c-devel/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
OpenPOWER on IntegriCloud