aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-24 12:44:17 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-24 12:44:17 +0800
commitc763050df812af11e0607dd7d69b31ab067c093c (patch)
treeaa116af2ce179457b332c1e5de24e02d0c179cfa /astro
parent06e61ce578bc86c82cd449bb52d230bb3d20e8cc (diff)
downloadfreebsd-ports-gnome-c763050df812af11e0607dd7d69b31ab067c093c.tar.gz
freebsd-ports-gnome-c763050df812af11e0607dd7d69b31ab067c093c.tar.zst
freebsd-ports-gnome-c763050df812af11e0607dd7d69b31ab067c093c.zip
${PERL} -> ${REINPLACE_CMD}
PR: 39746 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
Diffstat (limited to 'astro')
-rw-r--r--astro/seti_applet/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/astro/seti_applet/Makefile b/astro/seti_applet/Makefile
index abe43fd4da0f..5d1afba0cd38 100644
--- a/astro/seti_applet/Makefile
+++ b/astro/seti_applet/Makefile
@@ -21,6 +21,7 @@ LIB_DEPENDS= gtop.1:${PORTSDIR}/devel/libgtop \
intl.2:${PORTSDIR}/devel/gettext
RUN_DEPENDS= ${LOCALBASE}/sbin/setiathome:${PORTSDIR}/astro/setiathome
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GNOME= yes
USE_LIBTOOL= yes
@@ -43,16 +44,16 @@ post-patch: patch-configure patch-makefiles-in \
patch-seti_applet patch-message
patch-configure:
- @${PERL} -pi.fbsd -e 's|-lpthread|${PTHREAD_LIBS}|g; \
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g;\
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
patch-makefiles-in:
- @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${PERL} -pi.fbsd -e \
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g;\
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
patch-seti_applet:
- @${PERL} -pi.fbsd -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/src/seti_applet.c
patch-message: