diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-03-29 03:18:02 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-03-29 03:18:02 +0000 |
commit | eeb252d8b398b2ff5e7a9095058991b04a12775b (patch) | |
tree | a0d6cfa6e2f1c0f2a682cd64a014a8d351065491 | |
parent | Update to 0.2. (diff) |
use stdlib.h instead of malloc.h
Notes
Notes:
svn path=/head/; revision=105574
-rw-r--r-- | lang/q/Makefile | 3 |
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> |