aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/fidelio
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-23 14:04:01 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-23 14:04:01 +0800
commit2e5a089158bc145f89582021e74d01797d009897 (patch)
treef579cbe02fdbd28a1f909c61649a01ccee65bb50 /net-p2p/fidelio
parentf3cdfeb23d80a8c403d671681536a62f5c7dd3b0 (diff)
downloadfreebsd-ports-graphics-2e5a089158bc145f89582021e74d01797d009897.tar.gz
freebsd-ports-graphics-2e5a089158bc145f89582021e74d01797d009897.tar.zst
freebsd-ports-graphics-2e5a089158bc145f89582021e74d01797d009897.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39668 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'net-p2p/fidelio')
-rw-r--r--net-p2p/fidelio/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/net-p2p/fidelio/Makefile b/net-p2p/fidelio/Makefile
index 9a4726fdcdf..0c52f215ef8 100644
--- a/net-p2p/fidelio/Makefile
+++ b/net-p2p/fidelio/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext \
XML_CONFIG?= ${LOCALBASE}/bin/xml2-config
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
@@ -32,14 +33,14 @@ CONFIGURE_ARGS= --without-included-gettext
CFLAGS+= -DHAVE_STRCASESTR
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
- @${PERL} -pi -e 's|-lxml|-lxml2|g' \
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \
+ s|\$$(datadir)/locale|\$$(prefix)/share/locale|g'
+ @${REINPLACE_CMD} -e 's|-lxml|-lxml2|g' \
${WRKSRC}/configure
- @${PERL} -pi -e 's|extern int strcasestr|//extern int strcasestr|' \
+ @${REINPLACE_CMD} -e 's|extern int strcasestr|//extern int strcasestr|' \
${WRKSRC}/src/trackers.c
.include <bsd.port.mk>