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/gnofract4d/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 'graphics/gnofract4d/Makefile')
-rw-r--r-- | graphics/gnofract4d/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/gnofract4d/Makefile b/graphics/gnofract4d/Makefile index f6e7456ce5cf..e4f251222a7b 100644 --- a/graphics/gnofract4d/Makefile +++ b/graphics/gnofract4d/Makefile @@ -13,6 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_X_PREFIX= yes USE_NEWGCC= yes USE_GNOME= yes @@ -22,11 +23,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ARGS= --enable-compile-warnings=no pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "*Makefile*" | xargs ${PERL} -pi.dist -e \ + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "*Makefile*" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-g -O2 -Wall -D_REENTRANT|\@CXXFLAGS\@|g ; \ - s|datadir\)/gnome|datadir\)|g ; \ - s|datadir\)/locale|prefix\)/share/locale|g ; \ - s|gnofract4d_helpdir\)/images|gnofract4d_helpdir\)|g' + s|datadir)/gnome|datadir)|g ; \ + s|datadir)/locale|prefix)/share/locale|g ; \ + s|gnofract4d_helpdir)/images|gnofract4d_helpdir)|g' .include <bsd.port.mk> |