[MacPorts] #20748: Remove +with_default_names and use a specific path for unprefixed binaries

MacPorts noreply at macports.org
Thu Aug 20 23:21:39 PDT 2009


#20748: Remove +with_default_names and use a specific path for unprefixed binaries
------------------------------+---------------------------------------------
 Reporter:  blb@…             |       Owner:  macports-tickets@…                                         
     Type:  enhancement       |      Status:  new                                                        
 Priority:  Normal            |   Milestone:                                                             
Component:  ports             |     Version:                                                             
 Keywords:  gnu               |        Port:  gnutar m4 gnetcat coreutils diffutils findutils gwhich gsed
------------------------------+---------------------------------------------
 Several ports have the +with_default_names variant to provide binaries
 which aren't prefixed by '''g''' (or similar).  This has caused issues
 over time (the ones in MacPorts' base should be mostly fixed in 1.8.0)
 including some ports failing to build properly (#19431 and #20275 found
 with a quick search).

 Instead of +with_default_names I propose we always install the g-prefixed
 versions in ${prefix}/bin (as would happen without +with_default_names),
 but also install the unprefixed versions into a special bin path for such
 things.  For example, ${prefix}/gnubin could be used.  Then anyone who
 really wants these binaries to override their system equivalents would
 simply need to add ${prefix}/gnubin to their PATH, but anything else build
 with port would not see them.

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


More information about the macports-tickets mailing list