[MacPorts] #64175: fnc is not using the right compiler or arch flags

MacPorts noreply at macports.org
Fri Dec 10 15:14:43 UTC 2021


#64175: fnc is not using the right compiler or arch flags
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  mcjsk
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:
      Port:  fnc         |
-------------------------+----------------------

Comment (by mcjsk):

 Replying to [comment:1 ryandesign]:
 > I also see a `-I/usr/include/ncursesw` in there which is wrong since the
 port declares a dependency on the ncurses port so clearly we're wanting to
 use MacPorts ncurses, not any that might be provided by the OS. MacPorts
 cppflags come preset to `-I${prefix}/include` so by using those the right
 flag will be there. You may still need to take additional measures to
 remove the incorrect flag, depending on how it's getting into the build.
 (Read the Makefile to find out.)

 Thanks, ryandesign at . I'll tend to this.

 Rather than depend on MacPorts ncurses, can we use the macOS base install
 instead? Originally, we didn't have the `port:ncurses` included in the
 `depends_lib`.

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


More information about the macports-tickets mailing list