<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/8e2a74ccf313f865559a5e338034c875b1f92fef">https://github.com/macports/macports-base/commit/8e2a74ccf313f865559a5e338034c875b1f92fef</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8e2a74ccf313f865559a5e338034c875b1f92fef
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun Sep 16 05:14:40 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> set configure.cpp for macports-clang >= 4
</span>---
src/port1.0/portconfigure.tcl | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portconfigure.tcl b/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 54728e6..3226418 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -712,7 +712,7 @@ proc portconfigure::configure_get_compiler {type {compiler {}}} {
</span> objcxx { return [find_developer_tool llvm-g++-4.2] }
cpp { return [find_developer_tool llvm-cpp-4.2] }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif {[regexp {^macports-clang(-\d+\.\d+)?$} $compiler -> suffix]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {[regexp {^macports-clang(-[0-3]\.\d+)?$} $compiler -> suffix]} {
</span> if {$suffix ne ""} {
set suffix "-mp${suffix}"
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -722,6 +722,15 @@ proc portconfigure::configure_get_compiler {type {compiler {}}} {
</span> cxx -
objcxx { return ${prefix}/bin/clang++${suffix} }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {[regexp {^macports-clang(-\d+\.\d+)$} $compiler -> suffix]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set suffix "-mp${suffix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ switch $type {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cc -
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ objc { return ${prefix}/bin/clang${suffix} }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cxx -
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ objcxx { return ${prefix}/bin/clang++${suffix} }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cpp { return ${prefix}/bin/clang-cpp${suffix} }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> } elseif {[regexp {^macports-dragonegg(-\d+\.\d+)(?:-gcc(-\d+\.\d+))?$} $compiler \
-> infix suffix]} {
if {$suffix ne ""} {
</pre><pre style='margin:0'>
</pre>