diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-30 02:50:27 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-30 02:50:27 +0000 |
commit | 520bec1f56b59e6f799cb8d16ae618cda06384a1 (patch) | |
tree | d6f3d35c80e52d7987e6598f667ba08fe60f38fb /games/tux-aqfh | |
parent | it needs PERL (diff) |
Replace ${PERL} with ${REINPLACE_CMD}
PR: 40012
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Notes
Notes:
svn path=/head/; revision=62204
Diffstat (limited to '')
-rw-r--r-- | games/tux-aqfh/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/games/tux-aqfh/Makefile b/games/tux-aqfh/Makefile index dc8c9942477b..4c4c6e5c390b 100644 --- a/games/tux-aqfh/Makefile +++ b/games/tux-aqfh/Makefile @@ -14,6 +14,7 @@ MAINTAINER= ports@FreeBSD.org BUILD_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib +USE_REINPLACE= yes USE_X_PREFIX= yes USE_NEWGCC= yes USE_MESA= yes @@ -24,11 +25,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ CONFIGURE_ARGS= --with-plib=${X11BASE} post-patch: - @${PERL} -pi -e 's|-O6|${PTHREAD_CFLAGS}|g ; \ + @${REINPLACE_CMD} -e 's|-O6|${PTHREAD_CFLAGS}|g ; \ s|-lpthread|${PTHREAD_LIBS}|g ; \ s|datadir/games|datadir|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ - 's|\$$\(prefix\)/games|\@bindir\@|g ; \ - s|\$$\(datadir\)/games|\$$\(datadir\)|g' + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|\$$(prefix)/games|\@bindir\@|g ; \ + s|\$$(datadir)/games|\$$(datadir)|g' .include <bsd.port.mk> |