<pre style='margin:0'>
MarcusCalhoun-Lopez pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/15fc753d13a7d65634a79df29dd85285e6eb6e43">https://github.com/macports/macports-ports/commit/15fc753d13a7d65634a79df29dd85285e6eb6e43</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 15fc753d13a7d65634a79df29dd85285e6eb6e43
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Tue Dec 27 09:48:54 2016 -0700
<span style='display:block; white-space:pre;color:#404040;'> qmake5-1.0.tcl: respect configure.compiler
</span>---
_resources/port1.0/group/qmake5-1.0.tcl | 7 +++++++
1 file changed, 7 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/qmake5-1.0.tcl b/_resources/port1.0/group/qmake5-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index c4901cc..5e86df4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/qmake5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/qmake5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -85,6 +85,13 @@ if {${configure.sdkroot} ne ""} {
</span> QMAKE_MAC_SDK=[string tolower [join [lrange [split [lindex [split ${configure.sdkroot} "/"] end] "."] 0 end-1] "."]]
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# respect configure.compiler but still allow qmake to find correct Xcode clang based on SDK
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${configure.compiler} ne "clang" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CC=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXX=${configure.cxx}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # override C++11 flags set in ${prefix}/libexec/qt5/mkspecs/common/clang-mac.conf
# so value of ${configure.cxx_stdlib} can always be used
configure.args-append \
</pre><pre style='margin:0'>
</pre>