This approach is tunable with custom paths for curses library.
It also detects whether there are requirements met.
I make use of it on NetBSD.
Paths 
  |  Differential  D14529  
Use library discovery for curses and panel ClosedPublic Authored by krytarowski on Nov 9 2015, 11:47 PM. 
Details Summary This approach is tunable with custom paths for curses library. It also detects whether there are requirements met. I make use of it on NetBSD. 
Diff Detail 
 Event Timelinekrytarowski updated this object. This revision is now accepted and ready to land.Nov 13 2015, 10:03 AM Closed by commit rL253151: Use library discovery for curses and panel (authored by brucem).  ·  Explain WhyNov 14 2015, 5:55 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 40220 lldb/trunk/cmake/LLDBDependencies.cmake
 lldb/trunk/cmake/modules/LLDBConfig.cmake
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||