<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/409e011dc7e3cd96272369415682e378f53b18e7">https://github.com/macports/macports-ports/commit/409e011dc7e3cd96272369415682e378f53b18e7</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 409e011 hatari: fix build on older systems
</span>409e011 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 409e011dc7e3cd96272369415682e378f53b18e7
</span>Author: kencu <ken.cunningham.webuse@gmail.com>
AuthorDate: Wed Dec 13 18:04:19 2017 -0800
<span style='display:block; white-space:pre;color:#404040;'> hatari: fix build on older systems
</span>---
emulators/hatari/Portfile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/emulators/hatari/Portfile b/emulators/hatari/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2de4845..213c905 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/emulators/hatari/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/hatari/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,6 +2,7 @@
</span>
PortSystem 1.0
PortGroup cmake 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span>
name hatari
version 2.0.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,13 +47,13 @@ platform darwin {
</span> default_variants +sdl2
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # 10.9 or greater should build macOS GUI
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${os.major} > 12 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 10.11 or greater should build macOS GUI
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} > 14 } {
</span> default_variants +macOSGUI
}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant macOSGUI description "Build macOS GUI Application (10.9+)" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant macOSGUI description "Build macOS GUI Application (10.11+)" {
</span> configure.args-append -DENABLE_OSX_BUNDLE:BOOL=1
post-destroot {
copy ${worksrcpath}/src/tos.img ${destroot}${applications_dir}/hatari.app/Contents/Resources/tos.img
</pre><pre style='margin:0'>
</pre>