aboutsummaryrefslogtreecommitdiff
path: root/graphics/xvid/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-11-03 07:27:39 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-11-03 07:27:39 +0000
commitc37531fcc3cb8d0a2cfaad63525028a3e8541fd4 (patch)
tree7d8f182d5f6c8aaee27703d4bde6caaa8cbd8358 /graphics/xvid/Makefile
parent4866d1844cb7823ad139132d8617efb93e8ad27d (diff)
downloadports-c37531fcc3cb8d0a2cfaad63525028a3e8541fd4.tar.gz
ports-c37531fcc3cb8d0a2cfaad63525028a3e8541fd4.zip
Notes
Diffstat (limited to 'graphics/xvid/Makefile')
-rw-r--r--graphics/xvid/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/xvid/Makefile b/graphics/xvid/Makefile
index addcf701c23d..e4ccf7e98e99 100644
--- a/graphics/xvid/Makefile
+++ b/graphics/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