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-p2p | |
parent | b53889dd48ab786160430cf4dc54b1562318d476 (diff) | |
download | ports-e28630ead26369af9ef1d199ae48177e0e2486ae.tar.gz ports-e28630ead26369af9ef1d199ae48177e0e2486ae.zip |
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/fidelio/Makefile | 13 | ||||
-rw-r--r-- | net-p2p/hagelslag/Makefile | 3 | ||||
-rw-r--r-- | net-p2p/libfreenet/Makefile | 3 |
3 files changed, 11 insertions, 8 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> diff --git a/net-p2p/hagelslag/Makefile b/net-p2p/hagelslag/Makefile index 0af2d752fecf..b132597d8f70 100644 --- a/net-p2p/hagelslag/Makefile +++ b/net-p2p/hagelslag/Makefile @@ -15,13 +15,14 @@ MAINTAINER= ports@FreeBSD.org BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend +USE_REINPLACE= yes USE_GMAKE= yes MAKEFILES= Makefile gui/Makefile src/Makefile HS_DOCDIR= ${PREFIX}/share/doc/${PORTNAME} post-patch: .for mfile in ${MAKEFILES} - @ ${PERL} -pi -e 's#make -C#\$${MAKE} -C#' ${WRKSRC}/${mfile} + @ ${REINPLACE_CMD} -e 's#make -C#\$${MAKE} -C#' ${WRKSRC}/${mfile} .endfor post-install: diff --git a/net-p2p/libfreenet/Makefile b/net-p2p/libfreenet/Makefile index b27c46ec226f..5cf8acd22f92 100644 --- a/net-p2p/libfreenet/Makefile +++ b/net-p2p/libfreenet/Makefile @@ -13,6 +13,7 @@ MASTER_SITES= http://thalassocracy.org/libfreenet/ MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_OPENSSL= yes USE_GMAKE= yes USE_LIBTOOL= yes @@ -20,6 +21,6 @@ CONFIGURE_ARGS= --includedir=${PREFIX}/include/libfreenet INSTALLS_SHLIB= yes post-patch: - @${PERL} -pi -e 's|-g -Wall|\@CFLAGS\@|g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|-g -Wall|\@CFLAGS\@|g' ${WRKSRC}/Makefile.in .include <bsd.port.mk> |