aboutsummaryrefslogtreecommitdiff
path: root/lang/q
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-03-29 03:18:02 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-03-29 03:18:02 +0000
commiteeb252d8b398b2ff5e7a9095058991b04a12775b (patch)
treea0d6cfa6e2f1c0f2a682cd64a014a8d351065491 /lang/q
parentfa49c7ece6023350d9b16c13cf811352ebbf5f3a (diff)
downloadports-eeb252d8b398b2ff5e7a9095058991b04a12775b.tar.gz
ports-eeb252d8b398b2ff5e7a9095058991b04a12775b.zip
Notes
Diffstat (limited to 'lang/q')
-rw-r--r--lang/q/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/q/Makefile b/lang/q/Makefile
index b4457b32caab..23c6f9fc9897 100644
--- a/lang/q/Makefile
+++ b/lang/q/Makefile
@@ -76,5 +76,8 @@ post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
${GREP} -l "^examplesdir" | ${XARGS} ${REINPLACE_CMD} -e \
"s;[(]pkgdatadir[)]/examples;(datadir)/examples/@PACKAGE@;"
+ @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} \
+ ${GREP} -l "<malloc\.h>" | ${XARGS} ${REINPLACE_CMD} \
+ -e "s,<malloc\.h>,<stdlib.h>,"
.include <bsd.port.mk>