[79550] trunk/dports/devel/mercurial/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Jun 17 18:13:23 PDT 2011


Revision: 79550
          http://trac.macports.org/changeset/79550
Author:   jeremyhu at macports.org
Date:     2011-06-17 18:13:23 -0700 (Fri, 17 Jun 2011)
Log Message:
-----------
mercurial: Use configure.cc_archflags in case the default does not match MacPorts arch

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

Modified: trunk/dports/devel/mercurial/Portfile
===================================================================
--- trunk/dports/devel/mercurial/Portfile	2011-06-18 01:08:47 UTC (rev 79549)
+++ trunk/dports/devel/mercurial/Portfile	2011-06-18 01:13:23 UTC (rev 79550)
@@ -36,7 +36,7 @@
     if {[variant_isset universal]} {
         reinplace "s/-arch i386 -arch x86_64/${configure.universal_cflags}/" ${worksrcpath}/setup.py
     } else {
-        reinplace "s/-arch i386 -arch x86_64//" ${worksrcpath}/setup.py
+        reinplace "s/-arch i386 -arch x86_64/${configure.cc_archflags}/" ${worksrcpath}/setup.py
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110617/c5225509/attachment.html>


More information about the macports-changes mailing list