[54754] trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

jmr at macports.org jmr at macports.org
Sat Aug 1 12:26:06 PDT 2009


Revision: 54754
          http://trac.macports.org/changeset/54754
Author:   jmr at macports.org
Date:     2009-08-01 12:26:04 -0700 (Sat, 01 Aug 2009)
Log Message:
-----------
muniversal portgroup: workaround for #17865 (deleting all option contents also deletes the option)

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl	2009-08-01 19:16:59 UTC (rev 54753)
+++ trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl	2009-08-01 19:26:04 UTC (rev 54754)
@@ -105,6 +105,12 @@
         configure.cxxflags-delete  -arch ${arch}
         configure.ldflags-delete   -arch ${arch}
     }
+    # workaround for #17865 (deleting all option contents also deletes the option)
+    foreach flags {universal_cflags universal_cxxflags universal_ldflags cflags cxxflags ldflags} {
+        if {![info exists configure.${flags}]} {
+            configure.${flags}
+        }
+    }
 
     eval configure.args-append      ${configure.universal_args}
     eval configure.cflags-append    ${configure.universal_cflags}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090801/206fbfc7/attachment.html>


More information about the macports-changes mailing list