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: assignedclosed

In b579fa962421adca1e13f7e317582daab4e9f419/macports-ports (master):

ghc: Remove unecessary compiler options

  • Remove compiler.cpath and compiler.library_path

Fixes: #59160

Note: See TracTickets for help on using tickets.