diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-23 06:04:01 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-23 06:04:01 +0000 |
commit | e28630ead26369af9ef1d199ae48177e0e2486ae (patch) | |
tree | c38809fe289a3882c872d743e8cfe274cca486f2 /net/fidelio | |
parent | b53889dd48ab786160430cf4dc54b1562318d476 (diff) | |
download | ports-e28630ead26369af9ef1d199ae48177e0e2486ae.tar.gz ports-e28630ead26369af9ef1d199ae48177e0e2486ae.zip |
Notes
Diffstat (limited to 'net/fidelio')
-rw-r--r-- | net/fidelio/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/net/fidelio/Makefile b/net/fidelio/Makefile index 9a4726fdcdf7..0c52f215ef8d 100644 --- a/net/fidelio/Makefile +++ b/net/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> |