summaryrefslogtreecommitdiff
path: root/net-p2p/fidelio
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-23 06:04:01 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-23 06:04:01 +0000
commite28630ead26369af9ef1d199ae48177e0e2486ae (patch)
treec38809fe289a3882c872d743e8cfe274cca486f2 /net-p2p/fidelio
parentadd kile 1.0 (diff)
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39668 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Notes
Notes: svn path=/head/; revision=61772
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 9a4726fdcdf7..0c52f215ef8d 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>