summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 04:24:00 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 04:24:00 +0000
commit7e903012cf1ff3d4bc97e312faf0c76137da73a6 (patch)
tree57918ee8e37e3877e9b33b4096f874eae9cfaed1
parentRemove #include <malloc.h> (diff)
Remove #include <malloc.h>
Notes
Notes: svn path=/head/; revision=57018
-rw-r--r--net/xmlrpc-c-devel/Makefile6
-rw-r--r--net/xmlrpc-c/Makefile6
2 files changed, 12 insertions, 0 deletions
diff --git a/net/xmlrpc-c-devel/Makefile b/net/xmlrpc-c-devel/Makefile
index 49dda0358700..618b47f09036 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
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