From 520bec1f56b59e6f799cb8d16ae618cda06384a1 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sun, 30 Jun 2002 02:50:27 +0000 Subject: Replace ${PERL} with ${REINPLACE_CMD} PR: 40012 Submitted by: Oliver Braun --- games/tuxkart/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'games/tuxkart') diff --git a/games/tuxkart/Makefile b/games/tuxkart/Makefile index 990f86aa46ab..6aef22554502 100644 --- a/games/tuxkart/Makefile +++ b/games/tuxkart/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 -- cgit v1.2.3