<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/7be942dd57ebf3f8e94c50ce142986b5e58d9577">https://github.com/macports/macports-ports/commit/7be942dd57ebf3f8e94c50ce142986b5e58d9577</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7be942dd57ebf3f8e94c50ce142986b5e58d9577
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Jun 12 18:53:07 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> minivmac*: Use the right deployment target
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes ld warning "object file (...) was built for newer OSX version
</span><span style='display:block; white-space:pre;color:#404040;'> (...) than being linked (10.4)"
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Use deployment target 10.4 for bootstrap since it needs to run on 10.4
</span><span style='display:block; white-space:pre;color:#404040;'> and later.
</span>---
emulators/minivmac-devel/Portfile | 5 +++++
emulators/minivmac/Portfile | 5 +++++
2 files changed, 10 insertions(+)
<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 de80bb3..013d468 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,6 +299,9 @@ 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:#e0ffe0;'>+ # Use the right deployment target.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s|-mmacosx-version-min=[0-9.]+||g} ${build.dir}/${my_variation_dir}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Use the right SDK.
if {${configure.sdkroot} eq {}} {
set sdkflags {}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -435,6 +438,8 @@ if {[tbool bootstrap]} {
</span> default_variants +universal
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ macosx_deployment_target 10.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> set output_archive ${workpath}/${my_name}-bootstrap-${version}_${revision}.zip
post-destroot {
<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 2a8432c..6cdefbe 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,6 +276,9 @@ 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:#e0ffe0;'>+ # Use the right deployment target.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s|-mmacosx-version-min=[0-9.]+||g} ${build.dir}/${my_variation_dir}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Use the right SDK.
if {${configure.sdkroot} eq {}} {
set sdkflags {}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -410,6 +413,8 @@ if {[tbool bootstrap]} {
</span> default_variants +universal
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ macosx_deployment_target 10.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> set output_archive ${workpath}/${my_name}-bootstrap-${version}_${revision}.zip
post-destroot {
</pre><pre style='margin:0'>
</pre>