[MacPorts] #60835: gcc is configured to use ${prefix} for local include files, so /usr/local missing from library and include search path

MacPorts noreply at macports.org
Tue Mar 23 02:48:49 UTC 2021


#60835: gcc is configured to use ${prefix} for local include files, so /usr/local
missing from library and include search path
-------------------------------------------------+-------------------------
  Reporter:  krovetz                             |      Owner:  (none)
      Type:  defect                              |     Status:  closed
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.6.2
Resolution:  wontfix                             |   Keywords:
      Port:  gcc10 gcc9 gcc8 gcc7 gcc6 gcc5      |
  gcc43 gcc44 gcc45 gcc46 gcc47 gcc48 gcc49      |
  gcc-devel                                      |
-------------------------------------------------+-------------------------
Changes (by kencu):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 So this (somewhat odd) method of configuring gcc goes back to ancient
 times, at least a decade <https://github.com/macports/macports-
 ports/blame/master/lang/gcc45/Portfile>.

 Who knows how many of the 20,000 ports might now rely on this behaviour?
 And, it does help keep errors from coming into builds by accidentally
 picking things up in /usr/local.

 So I'm going to close this is a "wontfix" as this is -- for MacPorts, at
 least -- expected and planned and desired behaviour.

-- 
Ticket URL: <https://trac.macports.org/ticket/60835#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list