<pre style='margin:0'>
Andrea D'Amore (anddam) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a768398ab1be37b9f93588850d1dfa2be5c15f60">https://github.com/macports/macports-ports/commit/a768398ab1be37b9f93588850d1dfa2be5c15f60</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a768398ab1be37b9f93588850d1dfa2be5c15f60
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Sat Dec 17 00:44:05 2016 -0800
<span style='display:block; white-space:pre;color:#404040;'> cctools: Use variant-determined version of llvm-objdump in llvm-otool rather than port-selected version
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
</span>---
devel/cctools/Portfile | 2 ++
1 file changed, 2 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cctools/Portfile b/devel/cctools/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ea9c0d2..94bdd88 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/cctools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cctools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortSystem 1.0
</span> name cctools
# Xcode 8.1
version 895
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> set ld64_version 274.1
categories devel
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -110,6 +111,7 @@ post-patch {
</span>
# Use our chosen version of llvm
if {${llvm_version} ne ""} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s:\"llvm-objdump\":\"llvm-objdump-mp-${llvm_version}\":" ${worksrcpath}/otool/main.c
</span> reinplace "s:\"llvm-mc\":\"llvm-mc-mp-${llvm_version}\":" ${worksrcpath}/as/driver.c
reinplace "s:@@LLVM_LIBDIR@@:${prefix}/libexec/llvm-${llvm_version}/lib:" ${worksrcpath}/libstuff/lto.c
}
</pre><pre style='margin:0'>
</pre>