[MacPorts] #17213: doxygen ignores configure.cc, configure.cxx, fails if gcc42 was gcc_selected

MacPorts noreply at macports.org
Wed Nov 12 15:54:44 PST 2008


#17213: doxygen ignores configure.cc, configure.cxx, fails if gcc42 was
gcc_selected
--------------------------------------+-------------------------------------
  Reporter:  ryandesign at macports.org  |       Owner:  css at macports.org
      Type:  defect                   |      Status:  new             
  Priority:  Normal                   |   Milestone:  Port Bugs       
 Component:  ports                    |     Version:  1.6.0           
Resolution:                           |    Keywords:                  
      Port:  doxygen                  |  
--------------------------------------+-------------------------------------

Comment(by ryandesign at macports.org):

 The definitions of "cc" and "c++" come from the lines beginning with
 TMAKE_CC and TMAKE_CXX in ${worksrcpath}/tmake/lib/macosx-c++/tmake.conf.

 One approach would be to amend the configure.env to override those. The
 portfile already passes `QTDIR=${prefix}`; we could add
 `TMAKE_CC=${configure.cc}` and `TMAKE_CXX=${configure.cxx}`.
 Unfortunately, MacPorts doesn't make configure.cc or configure.cxx
 available until after the default configure phase has started to run. It
 also clears them again after the configure phase is done. This means the
 only phase during which we can access configure.cc and configure.cxx in a
 portfile is post-configure, by which point configure has already run.

 Another approach would be to try to reinplace those lines in the
 tmake.conf, perhaps in the post-patch phase. This has the same problem as
 above (the variables aren't available until post-configure) and another:
 we'd have to figure out the correct tmake.conf to patch based on the
 platform (which might not be Mac OS X).

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


More information about the macports-tickets mailing list