<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/8e7b757b819825f579032aba7c911dfb383d34b8">https://github.com/macports/macports-ports/commit/8e7b757b819825f579032aba7c911dfb383d34b8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8e7b757b819825f579032aba7c911dfb383d34b8
</span>Author: Ryan Schmidt <git@ryandesign.com>
AuthorDate: Sat Mar 3 17:58:40 2018 -0600
<span style='display:block; white-space:pre;color:#404040;'> qgis: Use compiler_blacklist_versions portgroup
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> …instead of implementing the functionality manually.
</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/55905
</span>---
gis/qgis/Portfile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/qgis/Portfile b/gis/qgis/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 10d0515..01083f3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/qgis/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/qgis/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,6 +2,7 @@
</span>
PortSystem 1.0
PortGroup cmake 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span> #PortGroup github 1.0
PortGroup qt4 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,12 +61,10 @@ post-patch {
</span> reinplace -E "s|@@@|${prefix}|g" \
${worksrcpath}/mac/app.info.plist.in
# reinplace -E "s|Clang|AppleClang|" ${worksrcpath}/CMakeLists.txt
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Handle legacy OS/XCode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[vercmp $xcodeversion 4.6.3] <= 0} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.compiler llvm-gcc-4.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist {clang < 500}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> set Py_FRM ${frameworks_dir}/Python.framework/Versions/2.7
#configure.args-append "--trace"
</pre><pre style='margin:0'>
</pre>