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

MacPorts noreply at macports.org
Sun Sep 6 16:03:26 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 ryandesign@…):

 Oh cool. Thanks Anthony. I was just working on this too. Looks like you
 beat me to it.

 In my version, I was going off of Apple's patches and ed scripts here:

 http://www.opensource.apple.com/source/apr/apr-23/apr-util/

 For apr, I used their fix-apr.h.ed, fix-apr_private.h.ed and fix-
 apr_rules.mk.ed; I didn't understand what the other files were for. It
 looks like your method ends up being pretty similar. Did you also base
 your changes off of their patches or figure it out on your own?

 You may want to use Apple's more specific regex for apr_rules.mk: `s/-arch
 [a-z0-9_]* *//g` instead of your `s/-arch .*//`

 For apr-util, I'm glad you figured out what extra environment variables to
 set. I couldn't see what to do based on Apple's Makefile.

 I also added

 {{{
 configure.universal_args-delete --disable-dependency-tracking
 }}}

 to both apr and apr-util because the configure scripts say it is an
 unknown option.

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


More information about the macports-tickets mailing list