s/malloc.h/stdlib.h/

This commit is contained in:
Ying-Chieh Liao 2002-01-15 13:26:30 +00:00
parent 91a75a62a4
commit a134c21b5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53109
2 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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