aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/downloader
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-22 00:13:17 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-22 00:13:17 +0800
commitc892af1780b67e6fdabc7f4945bcad3d9e29571d (patch)
tree8a9971c8edf6533234e79b9a5cc3a411a279b46f /ftp/downloader
parent37a43dfd3cd3a54cc3207c6a319b0e292b80f6fd (diff)
downloadfreebsd-ports-gnome-c892af1780b67e6fdabc7f4945bcad3d9e29571d.tar.gz
freebsd-ports-gnome-c892af1780b67e6fdabc7f4945bcad3d9e29571d.tar.zst
freebsd-ports-gnome-c892af1780b67e6fdabc7f4945bcad3d9e29571d.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39594 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'ftp/downloader')
-rw-r--r--ftp/downloader/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/ftp/downloader/Makefile b/ftp/downloader/Makefile
index f72abc626799..52333850c95e 100644
--- a/ftp/downloader/Makefile
+++ b/ftp/downloader/Makefile
@@ -20,6 +20,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
+USE_REINPLACE= yes
USE_GTK= yes
USE_ESOUND= yes
USE_GMAKE= yes
@@ -37,11 +38,11 @@ PORTDOCS= FAQ FAQ.de FAQ.es FAQ.fr FAQ.gr INSTALL INSTALL.de \
INSTALL.pt_BR LICENSE NAMES THANKS TROUBLES
post-patch:
- @${PERL} -pi -e 's|CXXFLAGS="-O."|CXXFLAGS=\$$CXXFLAGS|g ; \
+ @${REINPLACE_CMD} -e 's|CXXFLAGS="-O."|CXXFLAGS=\$$CXXFLAGS|g ; \
s|OS_CXXFLAGS="-pthread"|OS_CXXFLAGS="${PTHREAD_CFLAGS}"|g ; \
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
- @${PERL} -pi -e 's| DOC||g' ${WRKSRC}/Makefile.in
- @${PERL} -pi -e 's|-not|\\!|g' ${WRKSRC}/share/Makefile.in
+ @${REINPLACE_CMD} -e 's| DOC||g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|-not|\\!|g' ${WRKSRC}/share/Makefile.in
post-install:
${INSTALL_MAN} ${WRKSRC}/DOC/nt.1 ${MANPREFIX}/man/man1