pkgsrc-WIP-changes archive

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

lldb: fix option



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Wed May 10 18:27:39 2023 +0200
Changeset:	d85abf54f9846cde3b22d9fa41dc95e88cceb238

Modified Files:
	lldb/Makefile
	lldb/options.mk

Log Message:
lldb: fix option

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

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

diffstat:
 lldb/Makefile   | 2 ++
 lldb/options.mk | 3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)

diffs:
diff --git a/lldb/Makefile b/lldb/Makefile
index 77757ddf41..5ff92d4e91 100644
--- a/lldb/Makefile
+++ b/lldb/Makefile
@@ -83,4 +83,6 @@ post-extract:
 .include "../../lang/python/extension.mk"
 .include "../../lang/python/tool.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
+# TODO: sync the readline option with other llvm packages
+.include "../../mk/readline.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/lldb/options.mk b/lldb/options.mk
index eab339d06a..cae04cfdf6 100644
--- a/lldb/options.mk
+++ b/lldb/options.mk
@@ -16,7 +16,6 @@ CMAKE_ARGS+=	-DLLVM_INCLUDE_TESTS=OFF
 
 .if ${PKG_OPTIONS:Mcurses}
 .include "../../mk/curses.buildlink3.mk"
-.include "../../mk/readline.buildlink3.mk"
 
 .  if ${OPSYS} == "NetBSD"
 .    if exists(/usr/include/panel.h)
@@ -32,8 +31,6 @@ CMAKE_ARGS+=    -DLLDB_ENABLE_CURSES=0
 CMAKE_ARGS+=	-DLLVM_ENABLE_TERMINFO=0
 .      endif
 .    endif
-CMAKE_ARGS+=	-DLLDB_ENABLE_CURSES=0
-CMAKE_ARGS+=	-DLLVM_ENABLE_TERMINFO=0
 .  endif
 
 .  if ${OPSYS} != "NetBSD"


Home | Main Index | Thread Index | Old Index