[110395] trunk/dports/graphics/wxWidgets-2.8/Portfile

mojca at macports.org mojca at macports.org
Fri Aug 30 13:55:45 PDT 2013


Revision: 110395
          https://trac.macports.org/changeset/110395
Author:   mojca at macports.org
Date:     2013-08-30 13:55:45 -0700 (Fri, 30 Aug 2013)
Log Message:
-----------
wxWidgets 2.8: remove -arch flags from 'wx-config --libs' (#40290)

Modified Paths:
--------------
    trunk/dports/graphics/wxWidgets-2.8/Portfile

Modified: trunk/dports/graphics/wxWidgets-2.8/Portfile
===================================================================
--- trunk/dports/graphics/wxWidgets-2.8/Portfile	2013-08-30 20:51:12 UTC (rev 110394)
+++ trunk/dports/graphics/wxWidgets-2.8/Portfile	2013-08-30 20:55:45 UTC (rev 110395)
@@ -139,6 +139,8 @@
     foreach c { ${contrib} } {
         system -W ${build.dir} "make -C contrib/src/${c}"
     }
+    # remove -arch flags from `wx-config --libs`
+    reinplace -E {s|-arch [a-z0-9_]+||g} lib/wx/config/${wxtype}-unicode-${installtype}-${branch}
 }
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130830/830f678b/attachment.html>


More information about the macports-changes mailing list