aboutsummaryrefslogtreecommitdiffstats
path: root/devel/linguist
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/linguist
parentcde2f267c86553ca05e0aa4469ac034e4060371d (diff)
downloadfreebsd-ports-graphics-2e24cb013a4dff5e119d355c91b2622a00311b14.tar.gz
freebsd-ports-graphics-2e24cb013a4dff5e119d355c91b2622a00311b14.tar.zst
freebsd-ports-graphics-2e24cb013a4dff5e119d355c91b2622a00311b14.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39842 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'devel/linguist')
-rw-r--r--devel/linguist/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/linguist/Makefile b/devel/linguist/Makefile
index 86d14eb70ed..75350d8d579 100644
--- a/devel/linguist/Makefile
+++ b/devel/linguist/Makefile
@@ -17,6 +17,7 @@ BUILD_DEPENDS= tmake:${PORTSDIR}/devel/tmake
WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_REINPLACE= yes
USE_QT_VER= 2
USE_X_PREFIX= yes
USE_GMAKE= yes
@@ -34,14 +35,14 @@ CFLAGS+= -O0
.endif
pre-configure:
- @find ${WRKSRC} -name '*.pro' | xargs ${PERL} -pi -e \
+ @${FIND} ${WRKSRC} -name '*.pro' | ${XARGS} ${REINPLACE_CMD} -E -e \
's/(^CONFIG.*)/\1 thread/'
post-configure:
- @${PERL} -pi -e 's|\$\(SUBDIRS\):.*tmake_all|\$\(SUBDIRS\):|' \
+ @${REINPLACE_CMD} -e 's|\$$(SUBDIRS):.*tmake_all|\$$(SUBDIRS):|' \
${WRKSRC}/Makefile
- @find ${WRKSRC} -name "Makefile" -type f | xargs ${PERL} -pi -e \
- 's|TARGET.*=.*\$\(QTDIR\)/bin/|TARGET=|'
+ @${FIND} ${WRKSRC} -name "Makefile" -type f | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|TARGET.*=.*\$$(QTDIR)/bin/|TARGET=|'
do-install:
.for file in linguist lrelease lupdate qm2ts