summaryrefslogtreecommitdiff
path: root/multimedia/mpgtx
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
commit534fffca27bb18f7529d548c46ee3326505a89c7 (patch)
treea09ac440edd299d85a3517dea62caa2b115543fc /multimedia/mpgtx
parentUpdate for a new patchset, which has only different comments. (diff)
${PERL} -> ${REINPLACE_CMD}
PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net
Notes
Notes: svn path=/head/; revision=65426
Diffstat (limited to 'multimedia/mpgtx')
-rw-r--r--multimedia/mpgtx/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/multimedia/mpgtx/Makefile b/multimedia/mpgtx/Makefile
index ce4c6ea7aefb..ba9c91a1001d 100644
--- a/multimedia/mpgtx/Makefile
+++ b/multimedia/mpgtx/Makefile
@@ -18,6 +18,7 @@ MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
+USE_REINPLACE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
ALL_TARGET= default
@@ -30,9 +31,9 @@ MLINKS= mpgtx.1 mpgcat.1 \
mpgtx.1 mpgsplit.1
pre-patch:
- @${PERL} -pi -e 's|CFLAGS=|CFLAGS\+=|g ; \
- s|\$$cflags \$$optimization_cflags|\$$cflags|g ; \
- s|g\+\+|${CXX}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS\+=|g ; \
+ s|\$$cflags \$$optimization_cflags|$$cflags|g ; \
+ s|g++|${CXX}|g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mpgtx ${PREFIX}/bin