aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbmah <bmah@FreeBSD.org>2002-09-06 11:24:19 +0800
committerbmah <bmah@FreeBSD.org>2002-09-06 11:24:19 +0800
commitc203362c6a952e1ec76791d1b3a50c8c7c637501 (patch)
treeb5dea294a8b3ceefbee7aa342ff931676aca8ddd
parentee74a402d5b4d123160c0fed7b5cb842319e1691 (diff)
downloadfreebsd-ports-gnome-c203362c6a952e1ec76791d1b3a50c8c7c637501.tar.gz
freebsd-ports-gnome-c203362c6a952e1ec76791d1b3a50c8c7c637501.tar.zst
freebsd-ports-gnome-c203362c6a952e1ec76791d1b3a50c8c7c637501.zip
Use REINPLACE_CMD.
Approved by: petef (maintainer)
-rw-r--r--graphics/peps/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/peps/Makefile b/graphics/peps/Makefile
index 6ab5477e4c96..6a2531b3f0ef 100644
--- a/graphics/peps/Makefile
+++ b/graphics/peps/Makefile
@@ -15,8 +15,10 @@ MAINTAINER= petef@FreeBSD.org
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu \
pnmtopng:${PORTSDIR}/graphics/netpbm
+USE_REINPLACE= yes
+
post-patch:
- @${PERL} -pi -e 's!cc -O3!${CC} ${CFLAGS}!' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's!cc -O3!${CC} ${CFLAGS}!' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/peps ${PREFIX}/bin