[150763] trunk/dports/devel/ld64/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Jul 27 23:08:06 PDT 2016


Revision: 150763
          https://trac.macports.org/changeset/150763
Author:   jeremyhu at macports.org
Date:     2016-07-27 23:08:06 -0700 (Wed, 27 Jul 2016)
Log Message:
-----------
ld64: Remove +llvm33 variant

Modified Paths:
--------------
    trunk/dports/devel/ld64/Portfile

Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile	2016-07-28 06:04:17 UTC (rev 150762)
+++ trunk/dports/devel/ld64/Portfile	2016-07-28 06:08:06 UTC (rev 150763)
@@ -268,53 +268,46 @@
     # wanting LTO support in ld64 on Tiger can install the +llvm variant after llvm
     # has been installed.
 
-    if {![variant_isset llvm33] && ![variant_isset llvm34] && ![variant_isset llvm35] && ![variant_isset llvm36] && ![variant_isset llvm37] && ![variant_isset llvm38] && ![variant_isset llvm39]} {
+    if {![variant_isset llvm34] && ![variant_isset llvm35] && ![variant_isset llvm36] && ![variant_isset llvm37] && ![variant_isset llvm38] && ![variant_isset llvm39]} {
         if {${os.major} >= 13} {
             default_variants +llvm38
-        } elseif {${os.major} >= 10} {
-            default_variants +llvm34
         } elseif {${os.major} >= 9} {
-            default_variants +llvm33
+            default_variants +llvm34
         }
 
-        if {![variant_isset llvm33] && ![variant_isset llvm34] && ![variant_isset llvm35] && ![variant_isset llvm36] && ![variant_isset llvm37] && ![variant_isset llvm38] && ![variant_isset llvm39] && ${os.major} >= 9} {
+        if {![variant_isset llvm34] && ![variant_isset llvm35] && ![variant_isset llvm36] && ![variant_isset llvm37] && ![variant_isset llvm38] && ![variant_isset llvm39] && ${os.major} >= 9} {
             ui_error "Your platform cannot be configured without LTO support in ld64.  Please enable one of the llvmXX variants, and try again."
             return -code error "Your platform cannot be configured without LTO support in ld64.  Please enable one of the llvmXX variants, and try again."
         }
     }
 
     set llvm_version {}
-    variant llvm33 conflicts llvm34 llvm35 llvm36 llvm37 llvm38 llvm39 description {Use llvm-3.3 for libLTO} {
-        set llvm_version        3.3
-        depends_lib-append      port:llvm-${llvm_version}
-    }
-
-    variant llvm34 conflicts llvm33 llvm35 llvm36 llvm37 llvm38 llvm39 description {Use llvm-3.4 for libLTO} {
+    variant llvm34 conflicts llvm35 llvm36 llvm37 llvm38 llvm39 description {Use llvm-3.4 for libLTO} {
         set llvm_version        3.4
         depends_lib-append      port:llvm-${llvm_version}
     }
 
-    variant llvm35 conflicts llvm33 llvm34 llvm36 llvm37 llvm38 llvm39 description {Use llvm-3.5 for libLTO} {
+    variant llvm35 conflicts llvm34 llvm36 llvm37 llvm38 llvm39 description {Use llvm-3.5 for libLTO} {
         set llvm_version        3.5
         depends_lib-append      port:llvm-${llvm_version}
     }
 
-    variant llvm36 conflicts llvm33 llvm34 llvm35 llvm37 llvm38 llvm39 description {Use llvm-3.6 for libLTO} {
+    variant llvm36 conflicts llvm34 llvm35 llvm37 llvm38 llvm39 description {Use llvm-3.6 for libLTO} {
         set llvm_version        3.6
         depends_lib-append      port:llvm-${llvm_version}
     }
 
-    variant llvm37 conflicts llvm33 llvm34 llvm35 llvm36 llvm38 llvm39 description {Use llvm-3.7 for libLTO} {
+    variant llvm37 conflicts llvm34 llvm35 llvm36 llvm38 llvm39 description {Use llvm-3.7 for libLTO} {
         set llvm_version        3.7
         depends_lib-append      port:llvm-${llvm_version}
     }
 
-    variant llvm38 conflicts llvm33 llvm34 llvm35 llvm36 llvm37 llvm39 description {Use llvm-3.8 for libLTO} {
+    variant llvm38 conflicts llvm34 llvm35 llvm36 llvm37 llvm39 description {Use llvm-3.8 for libLTO} {
         set llvm_version        3.8
         depends_lib-append      port:llvm-${llvm_version}
     }
 
-    variant llvm39 conflicts llvm33 llvm34 llvm35 llvm36 llvm37 llvm38 description {Use llvm-3.9 for libLTO} {
+    variant llvm39 conflicts llvm34 llvm35 llvm36 llvm37 llvm38 description {Use llvm-3.9 for libLTO} {
         set llvm_version        3.9
         depends_lib-append      port:llvm-${llvm_version}
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160727/5c09ee56/attachment-0001.html>


More information about the macports-changes mailing list