[MacPorts] #59160: ghc: sets compiler.cpath incorrectly

MacPorts noreply at macports.org
Fri Oct 4 03:01:37 UTC 2019


#59160: ghc: sets compiler.cpath incorrectly
------------------------+-----------------------
 Reporter:  ryandesign  |      Owner:  essandess
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  ghc
------------------------+-----------------------
 The ghc Portfile has this line:

 {{{
 compiler.cpath      /usr/bin/gcc
 }}}

 That's nonsense. `compiler.cpath` is supposed to be the path to C include
 files (and MacPorts has already set it for you), not the path to the C
 compiler (which is in `configure.cc`).

 Why is the port trying to change `compiler.cpath` and
 `compiler.library_path` at all? Most ports should not do that.

-- 
Ticket URL: <https://trac.macports.org/ticket/59160>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list