aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxml
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2002-02-13 04:57:17 +0000
committerAde Lovett <ade@FreeBSD.org>2002-02-13 04:57:17 +0000
commit1d25b2294bb9a220d8a3ef9dda5d5394ec684213 (patch)
tree45b5002039319d764e336fcaff67ab67f9bef58c /textproc/libxml
parent1bd1769c7a9abd173e75a7aade106dddcf968b51 (diff)
downloadports-1d25b2294bb9a220d8a3ef9dda5d5394ec684213.tar.gz
ports-1d25b2294bb9a220d8a3ef9dda5d5394ec684213.zip
Unbreak for -CURRENT (and remove warning on stable) by changing malloc.h
references to stdlib.h PR: 34652 Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
Notes
Notes: svn path=/head/; revision=54646
Diffstat (limited to 'textproc/libxml')
-rw-r--r--textproc/libxml/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/textproc/libxml/Makefile b/textproc/libxml/Makefile
index e71f5acfa7e4..3b3f4f7d7dc9 100644
--- a/textproc/libxml/Makefile
+++ b/textproc/libxml/Makefile
@@ -20,4 +20,8 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
+pre-patch:
+ @find {WRKSRC} -name "*.[ch]" | xargs ${PERL} -pi -e \
+ 's|malloc\.h|stdlib.h|g'
+
.include <bsd.port.mk>