[108618] trunk/dports/lang

jeremyhu at macports.org jeremyhu at macports.org
Sun Jul 28 09:20:06 PDT 2013


Revision: 108618
          https://trac.macports.org/changeset/108618
Author:   jeremyhu at macports.org
Date:     2013-07-28 09:20:06 -0700 (Sun, 28 Jul 2013)
Log Message:
-----------
llvm-3.[34]: Workaround upstream bug setting the correct optimization flags (#39761)

Modified Paths:
--------------
    trunk/dports/lang/llvm-3.2/Portfile
    trunk/dports/lang/llvm-3.3/Portfile
    trunk/dports/lang/llvm-3.4/Portfile

Modified: trunk/dports/lang/llvm-3.2/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.2/Portfile	2013-07-28 12:19:20 UTC (rev 108617)
+++ trunk/dports/lang/llvm-3.2/Portfile	2013-07-28 16:20:06 UTC (rev 108618)
@@ -16,7 +16,7 @@
 maintainers             jeremyhu
 
 platform darwin {
-    if {${os.major} >= 13} {
+    if {${os.major} >= 20} {
         depends_lib
         depends_run
         pre-fetch {

Modified: trunk/dports/lang/llvm-3.3/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.3/Portfile	2013-07-28 12:19:20 UTC (rev 108617)
+++ trunk/dports/lang/llvm-3.3/Portfile	2013-07-28 16:20:06 UTC (rev 108618)
@@ -102,6 +102,7 @@
                         REQUIRES_RTTI=1
 destroot.env-append     VERBOSE=1 \
                         REQUIRES_RTTI=1
+configure.optflags
 configure.cppflags
 configure.ldflags
 configure.pre_args-delete --prefix=${prefix}
@@ -173,6 +174,7 @@
     if {[string match "*ppc*" [get_canonical_archs]]} {
         # http://trac.macports.org/ticket/33987
         configure.args-append --with-optimize-option=-Os
+        configure.optflags    -Os
     }
 
     if {${subport} == "clang-${llvm_version}" && ${os.major} <= 9} {

Modified: trunk/dports/lang/llvm-3.4/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.4/Portfile	2013-07-28 12:19:20 UTC (rev 108617)
+++ trunk/dports/lang/llvm-3.4/Portfile	2013-07-28 16:20:06 UTC (rev 108618)
@@ -89,6 +89,7 @@
                         REQUIRES_RTTI=1
 destroot.env-append     VERBOSE=1 \
                         REQUIRES_RTTI=1
+configure.optflags
 configure.cppflags
 configure.ldflags
 configure.pre_args-delete --prefix=${prefix}
@@ -160,6 +161,7 @@
     if {[string match "*ppc*" [get_canonical_archs]]} {
         # http://trac.macports.org/ticket/33987
         configure.args-append --with-optimize-option=-Os
+        configure.optflags    -Os
     }
 
     if {${subport} == "clang-${llvm_version}" && ${os.major} <= 9} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130728/68fa2115/attachment.html>


More information about the macports-changes mailing list