pkgsrc/lang/libLLVM/patches/patch-cmake_config-ix.cmake
tnn b95a53a7ad libLLVM: update to 9.0.1
sync w/ lang/llvm. needed for mesa 20 update.
2020-03-06 22:44:18 +00:00

15 lines
656 B
CMake

$NetBSD: patch-cmake_config-ix.cmake,v 1.2 2020/03/06 22:44:18 tnn Exp $
Do not generate invalid llvm-config in pkgsrc.
--- cmake/config-ix.cmake.orig 2019-12-11 19:15:30.000000000 +0000
+++ cmake/config-ix.cmake
@@ -141,7 +141,7 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memor
endif()
if(LLVM_ENABLE_TERMINFO)
set(HAVE_TERMINFO 0)
- foreach(library terminfo tinfo curses ncurses ncursesw)
+ foreach(library terminfo curses ncurses ncursesw tinfo)
string(TOUPPER ${library} library_suffix)
check_library_exists(${library} setupterm "" HAVE_TERMINFO_${library_suffix})
if(HAVE_TERMINFO_${library_suffix})