[MacPorts] #34018: boost fails to build +universal i386, x86_64, ppc

MacPorts noreply at macports.org
Thu Apr 12 16:32:06 PDT 2012


#34018: boost fails to build +universal i386,x86_64,ppc
---------------------------------------------------+------------------------
 Reporter:  jeremyhu@…                             |       Owner:  adfernandes@…           
     Type:  defect                                 |      Status:  new                     
 Priority:  Normal                                 |   Milestone:                          
Component:  ports                                  |     Version:  2.0.4                   
 Keywords:  universal muniversal merger_dont_diff  |        Port:  boost                   
---------------------------------------------------+------------------------

Comment(by jeremyhu@…):

 This patch looks like it should do the trick, I'm testing it now...
 {{{
 Index: Portfile
 ===================================================================
 --- Portfile    (revision 91896)
 +++ Portfile    (working copy)
 @@ -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
          }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/34018#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list