[MacPorts] #17090: apr: duplicate case value when compiling universal i386/x86_64 or ppc/ppc64

MacPorts noreply at macports.org
Tue Apr 28 15:46:53 PDT 2009


#17090: apr: duplicate case value when compiling universal i386/x86_64 or ppc/ppc64
---------------------------------+------------------------------------------
 Reporter:  pguyot@…             |       Owner:  dluke@…           
     Type:  defect               |      Status:  assigned          
 Priority:  Normal               |   Milestone:                    
Component:  ports                |     Version:  1.7.0             
 Keywords:                       |        Port:  apr               
---------------------------------+------------------------------------------

Comment(by ulrich.kohlhase@…):

 I couldn't get the universal (i386 x86_64) builds to work, neither for apr
 nor for apr-util using the latest patches submitted by the previous
 submitter. I'm using the following macports.conf settings on the build
 machine (OS X Server Leopard, 10.5.6, Xcode 3.1.2):

 # MACOSX_DEPLOYMENT_TARGET[[BR]]
 universal_target        10.5[[BR]]

 # the SDK "sysroot" to use [[BR]]
 universal_sysroot       /Developer/SDKs/MacOSX10.5.sdk[[BR]]

 # machine architectures[[BR]]
 universal_archs         i386 x86_64

 While the apr port in itself would work fine with minor changes only
 (PortGroup muniversal 1.0, chmod 755 apr-1-config after install), the
 apr_rules.mk and libtool generated in /usr/local/share/apr-1/build will
 not work for a apr-util universal (i386 x86_64) build. Using the mta
 patches, APR libtool creates 64bit object files in the i386 work folder
 and the build fails.

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


More information about the macports-tickets mailing list