aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-01-15 21:26:30 +0800
committerijliao <ijliao@FreeBSD.org>2002-01-15 21:26:30 +0800
commitc673d8c4d8bee96bbbd7b784bdb73fd6fe625a61 (patch)
treec51c9c53612a45a35915ac9de189ffb3c5bca41d /multimedia
parent37a0cfb5ca58de4a46fe9a195c0773617b0f5175 (diff)
downloadfreebsd-ports-gnome-c673d8c4d8bee96bbbd7b784bdb73fd6fe625a61.tar.gz
freebsd-ports-gnome-c673d8c4d8bee96bbbd7b784bdb73fd6fe625a61.tar.zst
freebsd-ports-gnome-c673d8c4d8bee96bbbd7b784bdb73fd6fe625a61.zip
s/malloc.h/stdlib.h/
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpeg_encode/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/multimedia/mpeg_encode/Makefile b/multimedia/mpeg_encode/Makefile
index 6f1250d7f8b6..2c580cf3887e 100644
--- a/multimedia/mpeg_encode/Makefile
+++ b/multimedia/mpeg_encode/Makefile
@@ -17,6 +17,10 @@ MAN1= mpeg_encode.1
WRKSRC= ${WRKDIR}/${PORTNAME}
+post-patch:
+ @(${GREP} -R -l "malloc.h" ${WRKSRC}/* | \
+ ${XARGS} ${PERL} -pi -e "s/malloc.h/stdlib.h/")
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mpeg_encode ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docs/mpeg_encode.1 ${PREFIX}/man/man1