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/libafterimage/Makefile | |
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/libafterimage/Makefile')
-rw-r--r-- | graphics/libafterimage/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/libafterimage/Makefile b/graphics/libafterimage/Makefile index f173c706c092..7cf5a8063c87 100644 --- a/graphics/libafterimage/Makefile +++ b/graphics/libafterimage/Makefile @@ -24,6 +24,7 @@ LIB_DEPENDS= AfterBase.0:${PORTSDIR}/devel/libafterbase \ tiff.4:${PORTSDIR}/graphics/tiff \ freetype.9:${PORTSDIR}/print/freetype2 +USE_REINPLACE= yes USE_X_PREFIX= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} @@ -52,8 +53,8 @@ post-extract: @${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage post-patch: - @${PERL} -pi -e 's|-lgif|-lungif|g' ${WRKSRC}/configure - @find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \ + @${REINPLACE_CMD} -e 's|-lgif|-lungif|g' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ 's|<malloc.h>|<stdlib.h>|g' .include <bsd.port.post.mk> |