diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-11-12 18:32:16 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-11-12 18:32:16 +0000 |
commit | 0dcbd3fdc4ad6e0c6b0caec883a29c00626889d8 (patch) | |
tree | d97f2dc6a298c586db13e7f75b51bd82397d5d12 | |
parent | Add FreeBSD Newsflash newsfeed. (diff) |
s/malloc.h/stdlib.h/
Noted by: Michael McGoldrick <mmcgoldrick@linuxdriven.net>
-rw-r--r-- | graphics/mpeg-lib/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/mpeg-lib/Makefile b/graphics/mpeg-lib/Makefile index 1a803d8d1e13..3b6fb26e7816 100644 --- a/graphics/mpeg-lib/Makefile +++ b/graphics/mpeg-lib/Makefile @@ -17,4 +17,9 @@ INSTALLS_SHLIB= yes GNU_CONFIGURE= yes CONFIGURE_ENV= OPTIMIZE="${CFLAGS}" +post-patch: + @(cd ${WRKSRC} ; \ + ${GREP} -r -l "<malloc.h>" * | \ + xargs ${PERL} -pi -e "s/<malloc.h>/<stdlib.h>/") + .include <bsd.port.mk> |