aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mpeg-lib
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-11-13 02:32:16 +0800
committerijliao <ijliao@FreeBSD.org>2001-11-13 02:32:16 +0800
commit64a2bb92c88f4d8fd70af4d8a791e689961d7b74 (patch)
tree4086c9612cd2c1e7481e2208b7816af56df9d982 /graphics/mpeg-lib
parentd53bb85dce2536607b558a99209f5111296b8e71 (diff)
downloadfreebsd-ports-gnome-64a2bb92c88f4d8fd70af4d8a791e689961d7b74.tar.gz
freebsd-ports-gnome-64a2bb92c88f4d8fd70af4d8a791e689961d7b74.tar.zst
freebsd-ports-gnome-64a2bb92c88f4d8fd70af4d8a791e689961d7b74.zip
s/malloc.h/stdlib.h/
Noted by: Michael McGoldrick <mmcgoldrick@linuxdriven.net>
Diffstat (limited to 'graphics/mpeg-lib')
-rw-r--r--graphics/mpeg-lib/Makefile5
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>