diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-07-08 18:41:30 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-07-08 18:41:30 +0800 |
commit | 27b58e05583dbd0dbed960cf162e599ebc0f227b (patch) | |
tree | 08d4d418aed90a1f7e8eb25819d284dce8d35a8b /graphics/aview | |
parent | e5f65fe9c160b78b54514fe1bebfa37c1259f7c8 (diff) | |
download | freebsd-ports-gnome-27b58e05583dbd0dbed960cf162e599ebc0f227b.tar.gz freebsd-ports-gnome-27b58e05583dbd0dbed960cf162e599ebc0f227b.tar.zst freebsd-ports-gnome-27b58e05583dbd0dbed960cf162e599ebc0f227b.zip |
PERL -> REINPLACE_CMD
PR: 39938
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'graphics/aview')
-rw-r--r-- | graphics/aview/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/aview/Makefile b/graphics/aview/Makefile index 04536c1d639b..5143091984ef 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> |