diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2002-09-02 00:07:59 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2002-09-02 00:07:59 +0800 |
commit | fd50192ea7567a034b59dfc96a1d112f8ccfa573 (patch) | |
tree | 6975c46330f04e77b17cb4d014c9d66ceb4f7a68 /multimedia/mpgtx | |
parent | 54d69c112debb52b84b6d174bd59479eec834fb7 (diff) | |
download | freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.gz freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.zst freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.zip |
${PERL} -> ${REINPLACE_CMD}
PR: 40784
Submitted by: corecode@corecode.ath.cx
Reviewed by: flynn@energyhq.homeip.net
Diffstat (limited to 'multimedia/mpgtx')
-rw-r--r-- | multimedia/mpgtx/Makefile | 7 |
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 |