aboutsummaryrefslogtreecommitdiffstats
path: root/devel/g2c
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-26 02:36:39 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-26 02:36:39 +0800
commit2e24cb013a4dff5e119d355c91b2622a00311b14 (patch)
tree7a79ec7a9cea96d93a4faead0a8d2d8c0f3fff6d /devel/g2c
parentcde2f267c86553ca05e0aa4469ac034e4060371d (diff)
downloadfreebsd-ports-gnome-2e24cb013a4dff5e119d355c91b2622a00311b14.tar.gz
freebsd-ports-gnome-2e24cb013a4dff5e119d355c91b2622a00311b14.tar.zst
freebsd-ports-gnome-2e24cb013a4dff5e119d355c91b2622a00311b14.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39842 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'devel/g2c')
-rw-r--r--devel/g2c/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/g2c/Makefile b/devel/g2c/Makefile
index 18162ed8d8c8..9b172ae36c24 100644
--- a/devel/g2c/Makefile
+++ b/devel/g2c/Makefile
@@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_GTK= yes
WANT_GNOME= yes
GNU_CONFIGURE= yes
@@ -26,10 +27,10 @@ USE_GNOME= yes
.endif
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'
+ @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \
+ s|\$$(datadir)/locale|\$$(prefix)/share/locale|g'
.include <bsd.port.post.mk>