[MacPorts] #59992: ncurses at 6.1 : /opt/local/include/unctrl.h:60:63: error: unknown type name 'SCREEN'

MacPorts noreply at macports.org
Wed Aug 5 00:48:54 UTC 2020


#59992: ncurses at 6.1 : /opt/local/include/unctrl.h:60:63: error: unknown type name
'SCREEN'
----------------------+----------------------
  Reporter:  kencu    |      Owner:  jmroot
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  ncurses  |
----------------------+----------------------

Comment (by kencu):

 In the case of the specific port Marcus was working on, is was a cargo
 build, there were no FLAGS being used at all. It was being driven by CPATH
 and LIBRARY_PATH <https://github.com/macports/macports-
 ports/pull/6484/commits/0b67f8df23624aa279846dc8279817d8f084091e> and
 that's why I said that disabling CPATH disabled MacPorts, basically, for
 that specific instance.

 Which is why I considered it to be not a fix for this issue, although it
 did work around the broken build in that one specific port.

 In general, for other kinds of builds, autotools, cmake, etc, then yes,
 the passing of include flags makes CPATH redundant, and likewise for -L
 and LIBRARY_PATH and what you say would be accurate for those ports.

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


More information about the macports-tickets mailing list