diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mpeg_encode/Makefile | 4 |
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 |