summaryrefslogtreecommitdiff
path: root/x11-toolkits/qt145
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-01-07 17:49:52 +0000
committerWill Andrews <will@FreeBSD.org>2001-01-07 17:49:52 +0000
commite40046b15dfb9ad5c4dcaa8137ef304b829ea59b (patch)
tree608ae9c87b150f1e38d0af957c8f5103a8dacaab /x11-toolkits/qt145
parentFix typo. (diff)
Clean up inefficient perl invocations; use multiple REs in the same call.
Diffstat (limited to 'x11-toolkits/qt145')
-rw-r--r--x11-toolkits/qt145/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11-toolkits/qt145/Makefile b/x11-toolkits/qt145/Makefile
index 5d84af50c082..3f9733d30a2a 100644
--- a/x11-toolkits/qt145/Makefile
+++ b/x11-toolkits/qt145/Makefile
@@ -48,10 +48,10 @@ post-patch:
| eval `${AWK} '{print "ln -sf",$$1,"${WRKSRC}/include"}'`
post-configure:
- @${PERL} -pi -e "s:g\+\+:${CXX}:g" ${WRKSRC}/configs/freebsd-g++-${STATIC}
- @${PERL} -pi -e "s:/usr/X11R6:${PREFIX}:g" ${WRKSRC}/configs/freebsd-g++-${STATIC}
- @${PERL} -pi -e "s:%%CXXFLAGS%%:${CXXFLAGS}:g" ${WRKSRC}/configs/freebsd-g++-${STATIC}
- @${PERL} -pi -e "s:%%VERSION%%:${VERSION}:g" ${WRKSRC}/configs/freebsd-g++-${STATIC}
+ @${PERL} -pi -e "s:g\+\+:${CXX}:g ; \
+ s:/usr/X11R6:${PREFIX}:g ; \
+ s:%%CXXFLAGS%%:${CXXFLAGS}:g ; \
+ s:%%VERSION%%:${VERSION}:g" ${WRKSRC}/configs/freebsd-g++-${STATIC}
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} freebsd-g++-${STATIC})
do-install: