pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lldb: rename curses cmake option as per upstream commit a4304f96d6baba92baa9db1eef0ed647f76306f6 on Dec 12 2019: [lldb/CMake] Rename LLDB_DISABLE_CURSES to LLDB_ENABLE_CURSES This matches the naming scheme used by LLVM. Differential revision: https://reviews.llvm.org/D71377



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Sat May 6 15:30:43 2023 +0200
Changeset:	06de719ae0ccd7de1693173582b37dc78d430412

Modified Files:
	lldb/Makefile

Log Message:
lldb: rename curses cmake option as per upstream
commit a4304f96d6baba92baa9db1eef0ed647f76306f6 on Dec 12 2019:
    [lldb/CMake] Rename LLDB_DISABLE_CURSES to LLDB_ENABLE_CURSES
    This matches the naming scheme used by LLVM.
    Differential revision: https://reviews.llvm.org/D71377

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=06de719ae0ccd7de1693173582b37dc78d430412

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lldb/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diffs:
diff --git a/lldb/Makefile b/lldb/Makefile
index 7e3042afe8..766583f374 100644
--- a/lldb/Makefile
+++ b/lldb/Makefile
@@ -24,7 +24,7 @@ USE_LANGUAGES=		c c++14
 GCC_REQD+=		7
 PY_PATCHPLIST=		yes
 
-CMAKE_ARGS+=	-DLLVM_CONFIG=${LLVM_CONFIG_PATH}
+CMAKE_ARGS+=	-DLLVM_CONFIG=${LLVM_CONFIG_PATH:Q}
 CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
 CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
 CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
@@ -58,9 +58,9 @@ TEST_ENV+=		LD_LIBRARY_PATH=${WRKDIR}/build/lib
 
 .if ${OPSYS} == "NetBSD"
 .  if exists(/usr/include/panel.h)
-CMAKE_ARGS+=	-DLLDB_DISABLE_CURSES:BOOL=FALSE
+CMAKE_ARGS+=	LLDB_ENABLE_CURSES=1
 .  else
-CMAKE_ARGS+=	-DLLDB_DISABLE_CURSES:BOOL=TRUE
+CMAKE_ARGS+=	LLDB_ENABLE_CURSES=0
 .  endif
 
 .include "options.mk"


Home | Main Index | Thread Index | Old Index