[92444] trunk/dports/devel/boost/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Apr 28 14:02:16 PDT 2012


Revision: 92444
          https://trac.macports.org/changeset/92444
Author:   jeremyhu at macports.org
Date:     2012-04-28 14:02:16 -0700 (Sat, 28 Apr 2012)
Log Message:
-----------
boost: Fix i386/x86_64/ppc universal build (#34018)

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

Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile	2012-04-28 21:00:56 UTC (rev 92443)
+++ trunk/dports/devel/boost/Portfile	2012-04-28 21:02:16 UTC (rev 92444)
@@ -281,6 +281,11 @@
     if {[lsearch ${universal_archs} *64] != -1} {
         if {[lsearch ${universal_archs} i386] != -1 || [lsearch ${universal_archs} ppc] != -1} {
             build.args-append   address-model=32_64
+            if {[lsearch ${universal_archs} ppc64] == -1} {
+                post-patch {
+                    reinplace "/local support-ppc64 =/s/= 1/= /" ${worksrcpath}/tools/build/v2/tools/darwin.jam
+                }
+            }
         } else {
             build.args-append   address-model=64
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120428/f99bb5c0/attachment.html>


More information about the macports-changes mailing list