diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-08 10:41:30 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-08 10:41:30 +0000 |
commit | 2730c8a3dcd82845271c9dbb832f982bbacff7ab (patch) | |
tree | 1642e533cdc6183365ccba20544974f74946044a /graphics/libafterimage/Makefile | |
parent | Fix the condition in the userforward director that is intended to (diff) |
PERL -> REINPLACE_CMD
PR: 39938
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to '')
-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> |