[MacPorts] #17309: python26 needs a small change in Portfile to build a true universal binary

MacPorts noreply at macports.org
Wed Nov 19 06:03:22 PST 2008


#17309: python26 needs a small change in Portfile to build a true universal binary
----------------------------+-----------------------------------------------
  Reporter:  10.50 at free.fr  |       Owner:  mcalhoun at macports.org
      Type:  defect         |      Status:  assigned             
  Priority:  Normal         |   Milestone:  Port Bugs            
 Component:  ports          |     Version:  1.6.0                
Resolution:                 |    Keywords:                       
      Port:  python26       |  
----------------------------+-----------------------------------------------

Comment(by 10.50 at free.fr):

 Correct. Build libz +universal first, and get:

 {{{
 otool -L
 /usr/pkg/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload/binascii.so
 /usr/pkg/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload/binascii.so:
         /usr/pkg/lib/libz.1.dylib (compatibility version 1.0.0, current
 version 1.2.3)
         /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
 version 1.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 111.0.0)
 }}}

 So, we'll have to include an explicit dependency to port:zlib in the
 universal variant.
 Cheers.
 V.

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


More information about the macports-tickets mailing list