summaryrefslogtreecommitdiffstats
path: root/graphics/aview
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-07-08 10:41:30 +0000
committerijliao <ijliao@FreeBSD.org>2002-07-08 10:41:30 +0000
commit27b58e05583dbd0dbed960cf162e599ebc0f227b (patch)
tree08d4d418aed90a1f7e8eb25819d284dce8d35a8b /graphics/aview
parente5f65fe9c160b78b54514fe1bebfa37c1259f7c8 (diff)
downloadFreeBSD-ports-27b58e05583dbd0dbed960cf162e599ebc0f227b.zip
FreeBSD-ports-27b58e05583dbd0dbed960cf162e599ebc0f227b.tar.gz
PERL -> REINPLACE_CMD
PR: 39938 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'graphics/aview')
-rw-r--r--graphics/aview/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/aview/Makefile b/graphics/aview/Makefile
index 04536c1..5143091 100644
--- a/graphics/aview/Makefile
+++ b/graphics/aview/Makefile
@@ -20,14 +20,15 @@ LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-x=no
MAN1= asciiview.1 aview.1
post-patch:
- @${PERL} -pi -e 's|/bash|/sh|g' ${WRKSRC}/asciiview
- @find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
+ @${REINPLACE_CMD} -e 's|/bash|/sh|g' ${WRKSRC}/asciiview
+ @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc.h>|<stdlib.h>|g'
.include <bsd.port.mk>
OpenPOWER on IntegriCloud