[44201] trunk/dports/aqua/qt4-mac/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Tue Dec 23 12:18:39 PST 2008
Revision: 44201
http://trac.macports.org/changeset/44201
Author: mcalhoun at macports.org
Date: 2008-12-23 12:18:38 -0800 (Tue, 23 Dec 2008)
Log Message:
-----------
qt4-mac: Ensure that correct compilers are used at all stages.
The file ${worksrcpath}/mkspecs/common/mac-g++.conf must be changed before configure is called.
configure.cc and configure.cxx are not available until the configure stage.
Therefore, use sed in the configure command.
Modified Paths:
--------------
trunk/dports/aqua/qt4-mac/Portfile
Modified: trunk/dports/aqua/qt4-mac/Portfile
===================================================================
--- trunk/dports/aqua/qt4-mac/Portfile 2008-12-23 20:14:29 UTC (rev 44200)
+++ trunk/dports/aqua/qt4-mac/Portfile 2008-12-23 20:18:38 UTC (rev 44201)
@@ -44,6 +44,9 @@
# or else some generated Makefiles will not seem them
configure.cppflags
configure.ldflags
+# ensure that MacPorts compilers are used
+configure.cmd \
+ /usr/bin/sed -ibak -e \"s| gcc\\\$| \${CC}|g\" -e \"s| g++\\\$| \${CXX}|g\" ${worksrcpath}/mkspecs/common/mac-g++.conf && ${configure.cmd}
# directory for .app and executable files
# Once installed, they should not be moved so they can find each other
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081223/6a999228/attachment.html>
More information about the macports-changes
mailing list