diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-23 14:04:01 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-23 14:04:01 +0800 |
commit | 2e5a089158bc145f89582021e74d01797d009897 (patch) | |
tree | f579cbe02fdbd28a1f909c61649a01ccee65bb50 /net-p2p/fidelio | |
parent | f3cdfeb23d80a8c403d671681536a62f5c7dd3b0 (diff) | |
download | freebsd-ports-gnome-2e5a089158bc145f89582021e74d01797d009897.tar.gz freebsd-ports-gnome-2e5a089158bc145f89582021e74d01797d009897.tar.zst freebsd-ports-gnome-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/Makefile | 13 |
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> |