[MacPorts] #17550: doxygen fails to build universal

MacPorts noreply at macports.org
Mon Feb 9 07:22:58 PST 2009


#17550: doxygen fails to build universal
------------------------------------+---------------------------------------
  Reporter:  jeremyhu@…             |       Owner:  css@…           
      Type:  defect                 |      Status:  reopened        
  Priority:  Low                    |   Milestone:  Port Bugs       
 Component:  ports                  |     Version:  1.6.0           
Resolution:                         |    Keywords:  universal       
      Port:  doxygen                |  
------------------------------------+---------------------------------------

Comment(by eborisch@…):

 Replying to [ticket:17550 jeremyhu@…]:
 > not a standard autoconf project
 >
 > I'm going to add universal_variant no in the mean time.

 It's pretty simple, it seems...

 Edit tmake/lib/macosx-c++/tmake.conf after the configure step to include
 the desired architectures.

 {{{
 TMAKE_CFLAGS            = -pipe -arch i386 -arch x86_64
 [...]
 TMAKE_LFLAGS            = -Wl,-search_paths_first  -arch i386 -arch x86_64
 }}}

 Then build... (Worked for me, at least.)

 $ file `which doxygen`
 /opt/local/bin/doxygen: Mach-O universal binary with 2 architectures
 /opt/local/bin/doxygen (for architecture i386): Mach-O executable i386
 /opt/local/bin/doxygen (for architecture x86_64):       Mach-O 64-bit
 executable x86_64

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


More information about the macports-tickets mailing list