aboutsummaryrefslogtreecommitdiff
path: root/graphics/aalib/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:41:30 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:41:30 +0000
commit2730c8a3dcd82845271c9dbb832f982bbacff7ab (patch)
tree1642e533cdc6183365ccba20544974f74946044a /graphics/aalib/Makefile
parent4e50fe70614b6cbe88ee0c6606cd7336356c42d0 (diff)
downloadports-2730c8a3dcd82845271c9dbb832f982bbacff7ab.tar.gz
ports-2730c8a3dcd82845271c9dbb832f982bbacff7ab.zip
Notes
Diffstat (limited to 'graphics/aalib/Makefile')
-rw-r--r--graphics/aalib/Makefile7
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>