[MacPorts] #29050: groff universal variant fails

MacPorts noreply at macports.org
Sat Apr 9 22:22:45 PDT 2011


#29050: groff universal variant fails
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  1.9.2                                
 Keywords:  universal                |        Port:  groff                                
-------------------------------------+--------------------------------------

Comment(by ryandesign@…):

 His patch says: run the configure phase with the settings set in the
 portfile, then run the configure phase again in a different directory.
 Ryan, you're right this is not a command listed in the guide or approved
 for use in portfiles. I am of course also guilty of using this in the
 php5extension portgroup, and a similar method in the php5 portfile, but
 I'd rather not proliferate its use if at all possible.

 Does this second configure script really need all the arguments passed to
 the main one? Does it for example matter whether --prefix is passed to it?
 If not, and if the only thing we're concerned with is disabling dependency
 tracking, then just write a simple one-line patch that unconditionally
 adds that flag to that configure script invocation; there's no harm in
 disabling dependency tracking even when not building universal. Dependency
 tracking is only relevant when a build directory is reused, which in
 MacPorts it never is; it's cleaned after every successful build.

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


More information about the macports-tickets mailing list