aboutsummaryrefslogtreecommitdiff
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
parent5bc499ce47fa1a8da853b36cc61cddf06075d203 (diff)
downloadports-534fffca27bb18f7529d548c46ee3326505a89c7.tar.gz
ports-534fffca27bb18f7529d548c46ee3326505a89c7.zip
Notes
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