<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f944d47a301854179ef1830bb66fe71a5058a3b8">https://github.com/macports/macports-ports/commit/f944d47a301854179ef1830bb66fe71a5058a3b8</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 f944d47 libsdl2: minor edits to allow building on 10.6
</span>f944d47 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f944d47a301854179ef1830bb66fe71a5058a3b8
</span>Author: Ken Cunningham <ken.cunningham.webuse@gmail.com>
AuthorDate: Tue Nov 1 20:08:26 2016 -0700
<span style='display:block; white-space:pre;color:#404040;'> libsdl2: minor edits to allow building on 10.6
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Blacklist compilers that are too old
</span><span style='display:block; white-space:pre;color:#404040;'> * Be more specific about the problem and suggest that
</span><span style='display:block; white-space:pre;color:#404040;'> installing 10.7 SDK might solve the problem
</span><span style='display:block; white-space:pre;color:#404040;'> * Remove the Id line
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/52210
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: #10
</span>---
devel/libsdl2/Portfile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libsdl2/Portfile b/devel/libsdl2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fc5d7f7..1d06409 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libsdl2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libsdl2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,7 +1,7 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span>
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span>
name libsdl2
set my_name SDL2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,6 +26,8 @@ checksums rmd160 91283ce74bd451e83651910259cf226cae70e4bb \
</span>
configure.args --without-x
<span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist *gcc* { clang < 211 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> platform macosx {
if {${os.major} <= 10} {
# Build requires at least 10.7 SDK, even when targeting 10.6
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,7 +36,7 @@ platform macosx {
</span> configure.sdkroot $lion_sdkpath
} else {
pre-fetch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- error "Building $name requires OS X 10.7 SDK or later"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error "Building $name @${version} on Mac OS X 10.6 requires the MacOSX10.7.sdk to be present in ${developer_dir}/SDKs/"
</span> }
}
}
</pre><pre style='margin:0'>
</pre>