From 3982a4f65be01a372bd1e84843df6e9a82758d93 Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Sat, 15 Aug 2020 21:34:33 +0100 Subject: [PATCH] CMakeLists.txt =================================================================== Gbp-Pq: Topic kfreebsd Gbp-Pq: Name CMakeLists.txt.diff --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 81c2bab39..e800a2994 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -811,7 +811,7 @@ if(LLVM_TARGET_IS_CROSSCOMPILE_HOST) # (this is a variable that CrossCompile sets on recursive invocations) endif() -if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)") +if( ${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)" AND NOT "kFreeBSD" ) # On FreeBSD, /usr/local/* is not used by default. In order to build LLVM # with libxml2, iconv.h, etc., we must add /usr/local paths. include_directories(SYSTEM "/usr/local/include") -- 2.30.2