<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/43c0535da2cff033b00f46673ed5d650e9645d8c">https://github.com/macports/macports-ports/commit/43c0535da2cff033b00f46673ed5d650e9645d8c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 43c0535da2cff033b00f46673ed5d650e9645d8c
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Jun 12 18:52:46 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> minivmac*: Use the right SDK
</span>---
emulators/minivmac-devel/Portfile | 10 +++++++---
emulators/minivmac/Portfile | 10 +++++++---
2 files changed, 14 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/emulators/minivmac-devel/Portfile b/emulators/minivmac-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 47833c3..de80bb3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/emulators/minivmac-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/minivmac-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -299,9 +299,13 @@ if {${subport} eq ${name}} {
</span> # Use the right compiler.
reinplace "s|gcc|${configure.cc}|g" ${build.dir}/${my_variation_dir}/Makefile
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Remove references to SDKs -- the 10.4u SDK is not installed by default on 10.6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # and even if you install it manually it does not work here.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -E {s|-isysroot /Developer/SDKs/[^ ]+||g} ${build.dir}/${my_variation_dir}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Use the right SDK.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${configure.sdkroot} eq {}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set sdkflags {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set sdkflags "-isysroot${configure.sdkroot}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s|-isysroot *\[^ \]+|${sdkflags}|g" ${build.dir}/${my_variation_dir}/Makefile
</span> }
}
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/emulators/minivmac/Portfile b/emulators/minivmac/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5f9d66b..2a8432c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/emulators/minivmac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/minivmac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -276,9 +276,13 @@ if {${subport} eq ${name}} {
</span> # Use the right compiler.
reinplace "s|gcc|${configure.cc}|g" ${build.dir}/${my_variation_dir}/Makefile
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Remove references to SDKs -- the 10.4u SDK is not installed by default on 10.6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # and even if you install it manually it does not work here.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -E {s|-isysroot /Developer/SDKs/[^ ]+||g} ${build.dir}/${my_variation_dir}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Use the right SDK.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${configure.sdkroot} eq {}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set sdkflags {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set sdkflags "-isysroot${configure.sdkroot}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s|-isysroot *\[^ \]+|${sdkflags}|g" ${build.dir}/${my_variation_dir}/Makefile
</span> }
}
}
</pre><pre style='margin:0'>
</pre>