diff options
author | lioux <lioux@FreeBSD.org> | 2002-11-03 15:27:39 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-11-03 15:27:39 +0800 |
commit | f81d4dfcdbe916767c4caa75f45b3036ef6c0f81 (patch) | |
tree | 37a90e2405d4a3eba13d2068a8b3bf25778201c9 /multimedia | |
parent | 1cbc4defeffb97871e2ec8fef57925ec9d079041 (diff) | |
download | freebsd-ports-gnome-f81d4dfcdbe916767c4caa75f45b3036ef6c0f81.tar.gz freebsd-ports-gnome-f81d4dfcdbe916767c4caa75f45b3036ef6c0f81.tar.zst freebsd-ports-gnome-f81d4dfcdbe916767c4caa75f45b3036ef6c0f81.zip |
Deploy USE_REINPLACE
Approved by: maintainer
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/xvid/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/multimedia/xvid/Makefile b/multimedia/xvid/Makefile index addcf701c23d..e4ccf7e98e99 100644 --- a/multimedia/xvid/Makefile +++ b/multimedia/xvid/Makefile @@ -19,6 +19,7 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm ONLY_FOR_ARCHS= i386 USE_AUTOCONF= yes USE_GMAKE= yes +USE_REINPLACE= yes INSTALLS_SHLIB= yes CONFIGURE_WRKSRC= ${WRKDIR} @@ -35,12 +36,12 @@ pre-everything:: post-patch: @ ${FIND} ${WRKDIR} -type f | \ - ${XARGS} -n 10 -x ${PERL} -pi -e \ + ${XARGS} -n 10 -x ${REINPLACE_CMD} -e \ 's|<malloc.h>|<stdlib.h>|' .ifndef(WITH_OPTIMIZED_CFLAGS) - @ ${PERL} -pi -e 's|(CFLAGS \+=).*|\1 ${CFLAGS}|' ${WRKSRC}/Makefile + @ ${REINPLACE_CMD} -E -e 's|(CFLAGS \+=).*|\1 ${CFLAGS}|' ${WRKSRC}/Makefile .else - @ ${PERL} -pi -e 's|(CFLAGS \+=.*)|\1 ${CFLAGS}|' ${WRKSRC}/Makefile + @ ${REINPLACE_CMD} -E -e 's|(CFLAGS \+=.*)|\1 ${CFLAGS}|' ${WRKSRC}/Makefile .endif # trick to detect existence of stdint.h |