pkgsrc-WIP-changes archive

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

lldb: fix cmake option



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Wed May 10 17:57:04 2023 +0200
Changeset:	fdc7a6c657d813e7491ac3caa5bbbce46e4ad93b

Modified Files:
	lldb/options.mk

Log Message:
lldb: fix cmake option

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

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

diffstat:
 lldb/options.mk | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diffs:
diff --git a/lldb/options.mk b/lldb/options.mk
index 850f690c19..67b8fc9bae 100644
--- a/lldb/options.mk
+++ b/lldb/options.mk
@@ -20,28 +20,28 @@ CMAKE_ARGS+=	-DLLVM_INCLUDE_TESTS=OFF
 
 .  if ${OPSYS} == "NetBSD"
 .    if exists(/usr/include/panel.h)
-CMAKE_ARGS+=	LLDB_ENABLE_CURSES=1
+CMAKE_ARGS+=	-DLLDB_ENABLE_CURSES=1
 .    else
 .include "../../devel/ncurses/buildlink3.mk"
 .      if exists(${BUILDLINK_PREFIX.ncurses}/include/panel.h)
-CMAKE_ARGS+=    LLDB_ENABLE_CURSES=1
+CMAKE_ARGS+=    -DLLDB_ENABLE_CURSES=1
 .      else
-CMAKE_ARGS+=    LLDB_ENABLE_CURSES=0
+CMAKE_ARGS+=    -DLLDB_ENABLE_CURSES=0
 .      endif
 .    endif
-CMAKE_ARGS+=	LLDB_ENABLE_CURSES=0
+CMAKE_ARGS+=	-DLLDB_ENABLE_CURSES=0
 .  endif
 
 .  if ${OPSYS} != "NetBSD"
 .include "../../devel/ncurses/buildlink3.mk"
 .    if exists(${BUILDLINK_PREFIX.ncurses}/include/panel.h)
-CMAKE_ARGS+=    LLDB_ENABLE_CURSES=1
+CMAKE_ARGS+=    -DLLDB_ENABLE_CURSES=1
 .    else
-CMAKE_ARGS+=    LLDB_ENABLE_CURSES=0
+CMAKE_ARGS+=    -DLLDB_ENABLE_CURSES=0
 .    endif
 .  endif
 
 .else
 
-CMAKE_ARGS+=	LLDB_ENABLE_CURSES=0
+CMAKE_ARGS+=	-DLLDB_ENABLE_CURSES=0
 .endif


Home | Main Index | Thread Index | Old Index