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/aalib | |
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>
Notes
Notes:
svn path=/head/; revision=62647
Diffstat (limited to 'graphics/aalib')
-rw-r--r-- | graphics/aalib/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/aalib/Makefile b/graphics/aalib/Makefile index a8ce3c002d4b..152ffea5d156 100644 --- a/graphics/aalib/Makefile +++ b/graphics/aalib/Makefile @@ -16,6 +16,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/} MAINTAINER= ports@FreeBSD.org WRKSRC= ${WRKDIR}/${PORTNAME}-1.4.0 +USE_REINPLACE= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes @@ -53,10 +54,10 @@ post-extract: post-patch: @${RM} -f ${WRKSRC}/config.cache - @${PERL} -pi -e 's|/usr/local|${LOCALBASE}|g; \ + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g; \ s|MAKEINFO=makeinfo|MAKEINFO="makeinfo --no-split"|g' \ ${WRKSRC}/configure - @find ${WRKSRC} \( -name '*.[ch]' \! -name acconfig.h \) \ - | xargs ${PERL} -pi -e 's|<malloc.h>|<stdlib.h>|g' + @${FIND} ${WRKSRC} \( -name '*.[ch]' \! -name acconfig.h \) \ + | ${XARGS} ${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' .include <bsd.port.mk> |