aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-09-02 00:07:59 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-09-02 00:07:59 +0800
commitfd50192ea7567a034b59dfc96a1d112f8ccfa573 (patch)
tree6975c46330f04e77b17cb4d014c9d66ceb4f7a68 /misc
parent54d69c112debb52b84b6d174bd59479eec834fb7 (diff)
downloadfreebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.gz
freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.zst
freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.zip
${PERL} -> ${REINPLACE_CMD}
PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net
Diffstat (limited to 'misc')
-rw-r--r--misc/kdeaddons/Makefile3
-rw-r--r--misc/kwatch/Makefile3
-rw-r--r--misc/pybliographer/Makefile7
3 files changed, 7 insertions, 6 deletions
diff --git a/misc/kdeaddons/Makefile b/misc/kdeaddons/Makefile
index e69eeed54516..62ff4c3480c5 100644
--- a/misc/kdeaddons/Makefile
+++ b/misc/kdeaddons/Makefile
@@ -19,6 +19,7 @@ BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
LIB_DEPENDS+= noatun.0:${PORTSDIR}/audio/kdemultimedia2 \
SDL-1.1.4:${PORTSDIR}/devel/sdl12
+USE_REINPLACE= yes
WITH_SDL= yes
USE_KDEBASE_VER=2
USE_BZIP2= yes
@@ -45,7 +46,7 @@ pre-configure:
.endfor
cd ${WRKSRC} && env PATH=${WRKSRC}/auto-bin:$$PATH \
${GMAKE} -f Makefile.cvs
- find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
+ ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
"s@sdl-config@${LOCALBASE}/bin/sdl11-config@g"
.include <bsd.port.post.mk>
diff --git a/misc/kwatch/Makefile b/misc/kwatch/Makefile
index 32ff80309c4f..13718b7b17de 100644
--- a/misc/kwatch/Makefile
+++ b/misc/kwatch/Makefile
@@ -17,10 +17,11 @@ MAINTAINER= kde@freebsd.org
BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext
+USE_REINPLACE= yes
USE_KDELIBS_VER= 2
GNU_CONFIGURE= yes
post-patch:
- @${PERL} -pi -e 's|-O2 ||g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O2 ||g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/misc/pybliographer/Makefile b/misc/pybliographer/Makefile
index f060bff339e0..a110bb0bdc71 100644
--- a/misc/pybliographer/Makefile
+++ b/misc/pybliographer/Makefile
@@ -22,7 +22,6 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-1.2/_gnomemodule.so:${PORTSDIR}/x11-toolki
USE_GNOMENG= yes
USE_GNOME= glib12
USE_PYTHON= yes
-USE_GNOME= yes
USE_X_PREFIX= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
@@ -35,9 +34,9 @@ pre-patch:
@${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|glib-config|glib12-config|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|\$$(datadir)/gnome/|$$(datadir)/|g ; \
+ s|\$$(datadir)/locale|$$(prefix)/share/locale|g'
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \