[112344] trunk/dports/kde

nicos at macports.org nicos at macports.org
Sat Oct 19 03:51:50 PDT 2013


Revision: 112344
          https://trac.macports.org/changeset/112344
Author:   nicos at macports.org
Date:     2013-10-19 03:51:50 -0700 (Sat, 19 Oct 2013)
Log Message:
-----------
kdevplatform, kdevelop: prevent use of clang < 5.0.0

Modified Paths:
--------------
    trunk/dports/kde/kdevelop/Portfile
    trunk/dports/kde/kdevplatform/Portfile

Modified: trunk/dports/kde/kdevelop/Portfile
===================================================================
--- trunk/dports/kde/kdevelop/Portfile	2013-10-19 10:06:25 UTC (rev 112343)
+++ trunk/dports/kde/kdevelop/Portfile	2013-10-19 10:51:50 UTC (rev 112344)
@@ -4,6 +4,7 @@
 PortSystem          1.0
 PortGroup           kde4 1.1
 PortGroup           muniversal 1.0
+PortGroup           compiler_blacklist_versions 1.0
 
 name                kdevelop
 version             4.5.1
@@ -35,6 +36,11 @@
                     port:kate \
                     port:oxygen-icons
 
+#XCode's clang < 5.0.0 does not compile. Force use of clang to support c++0x
+if {${configure.compiler} == "clang" && [vercmp $xcodeversion 5.0] < 0} {
+    configure.compiler  macports-clang-3.3
+}
+
 #Binaries do not link to openssl, nor use the ssl backend of kdelibs4
 license_noconflict  openssl
 

Modified: trunk/dports/kde/kdevplatform/Portfile
===================================================================
--- trunk/dports/kde/kdevplatform/Portfile	2013-10-19 10:06:25 UTC (rev 112343)
+++ trunk/dports/kde/kdevplatform/Portfile	2013-10-19 10:51:50 UTC (rev 112344)
@@ -7,6 +7,7 @@
 
 name                kdevplatform
 version             1.5.1
+revision            1
 categories          kde kde4
 platforms           darwin
 license             GPL-2+
@@ -34,6 +35,11 @@
                     port:boost \
                     port:grantlee
 
+#XCode's clang < 5.0.0 does not compile. Force use of clang to support c++0x
+if {${configure.compiler} == "clang" && [vercmp $xcodeversion 5.0] < 0} {
+    configure.compiler  macports-clang-3.3
+}
+
 #Binaries do not link to openssl, nor use the ssl backend of kdelibs4
 license_noconflict  openssl
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131019/f6b30927/attachment-0001.html>


More information about the macports-changes mailing list