aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gfslicer
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-06-24 04:29:01 +0800
committerpat <pat@FreeBSD.org>2002-06-24 04:29:01 +0800
commitcf6da9c2084f076043b607e9aa6cabfe42da0fa9 (patch)
tree370fcbb6d6f08270d45d4568848a36e376726f0f /sysutils/gfslicer
parent9ceaffbf4dbb65eaf9582a23b08e02bc97f57287 (diff)
downloadfreebsd-ports-graphics-cf6da9c2084f076043b607e9aa6cabfe42da0fa9.tar.gz
freebsd-ports-graphics-cf6da9c2084f076043b607e9aa6cabfe42da0fa9.tar.zst
freebsd-ports-graphics-cf6da9c2084f076043b607e9aa6cabfe42da0fa9.zip
PERL -> REINPLACE_CMD
PR: ports/39731, ports/39732, ports/39733, ports/39734, ports/39735 ports/39736, ports/39737, ports/39738, ports/39739 ports/39740 Submitted by: Scott Flatman <sf@dsinw.com>
Diffstat (limited to 'sysutils/gfslicer')
-rw-r--r--sysutils/gfslicer/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/gfslicer/Makefile b/sysutils/gfslicer/Makefile
index 7265bcc44e4..da1cafd06d5 100644
--- a/sysutils/gfslicer/Makefile
+++ b/sysutils/gfslicer/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/share/automake14/automake/install-sh:${PORTSDIR}/devel/automake14
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GNOME= yes
USE_GMAKE= yes
@@ -30,11 +31,11 @@ post-extract:
@${RM} -f ${WRKSRC}/config.cache
post-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'