Opened 5 years ago
Closed 5 years ago
#59160 closed defect (fixed)
ghc: sets compiler.cpath incorrectly
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | essandess (Steve Smith) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | ghc |
Description
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.
Change History (2)
comment:1 Changed 5 years ago by essandess (Steve Smith)
comment:2 Changed 5 years ago by essandess (Steve Smith)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Thanks. PR https://github.com/macports/macports-ports/pull/5424 fixes this.