diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/xmlrpc-c-devel/Makefile | 6 | ||||
-rw-r--r-- | net/xmlrpc-c/Makefile | 6 |
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 |