[61674] trunk/dports/security/cyrus-sasl2/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Dec 18 07:48:04 PST 2009


Revision: 61674
          http://trac.macports.org/changeset/61674
Author:   ryandesign at macports.org
Date:     2009-12-18 07:48:03 -0800 (Fri, 18 Dec 2009)
Log Message:
-----------
cyrus-sasl2: support non-universal builds with non-default build_arch; see #17357

Modified Paths:
--------------
    trunk/dports/security/cyrus-sasl2/Portfile

Modified: trunk/dports/security/cyrus-sasl2/Portfile
===================================================================
--- trunk/dports/security/cyrus-sasl2/Portfile	2009-12-18 15:45:49 UTC (rev 61673)
+++ trunk/dports/security/cyrus-sasl2/Portfile	2009-12-18 15:48:03 UTC (rev 61674)
@@ -68,6 +68,8 @@
         foreach arch ${universal_archs_to_use} {
             reinplace -E "s|^CC=\\\"(\[^\\\"\]+)\\\"|CC=\"\\1 [muniversal_get_arch_flag ${arch}]\"|g" ${worksrcpath}-${arch}/libtool
         }
+    } else {
+        reinplace -E "s|^CC=\\\"(\[^\\\"\]+)\\\"|CC=\"\\1 ${configure.cc_archflags}\"|g" ${worksrcpath}/libtool
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091218/2754b04d/attachment.html>


More information about the macports-changes mailing list