diff options
author | Will Andrews <will@FreeBSD.org> | 2001-01-07 17:49:52 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-01-07 17:49:52 +0000 |
commit | e40046b15dfb9ad5c4dcaa8137ef304b829ea59b (patch) | |
tree | 608ae9c87b150f1e38d0af957c8f5103a8dacaab /x11-toolkits | |
parent | Fix typo. (diff) |
Clean up inefficient perl invocations; use multiple REs in the same call.
Notes
Notes:
svn path=/head/; revision=36897
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/qt145/Makefile | 8 |
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: |