[MacPorts] #72423: notcurses passes cppflag pointing to /usr/local/include

MacPorts noreply at macports.org
Wed Apr 30 01:00:50 UTC 2025


#72423: notcurses passes cppflag pointing to /usr/local/include
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.5
Resolution:                |   Keywords:
      Port:  notcurses     |
---------------------------+----------------------

Comment (by ryandesign):

 I would guess
 [https://github.com/dankamongmen/notcurses/blob/7924a05bdeab684f34d06d92f6edb1693836c41c/CMakeLists.txt#L160
 the first line in this block]:

 {{{#!cmake
 if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
   include_directories(/usr/local/include)
   link_directories(/usr/local/lib)
   set(CMAKE_REQUIRED_INCLUDES /usr/local/include)
 endif()
 }}}

 should be changed with a patch to:

 {{{
 #!cmake
 if(FALSE)
 }}}

 The code
 [https://github.com/dankamongmen/notcurses/commit/1a4f567fe3e932ab507ece20d976511f253c2814
 was added] as part of
 [https://github.com/dankamongmen/notcurses/pull/1923 this PR] to fix
 [https://github.com/dankamongmen/notcurses/issues/195 this issue] to
 implement OS X support.
 We should probably send them a PR to remove this block.

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


More information about the macports-tickets mailing list