pkgsrc-WIP-changes archive

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

lldb: sync w/ pkgsrc



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Fri Apr 26 22:07:27 2024 +0200
Changeset:	1e7da6d058c8e0dd95f043440b6e903e29078dba

Modified Files:
	lldb/options.mk

Log Message:
lldb: sync w/ pkgsrc

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

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

diffstat:
 lldb/options.mk | 26 +-------------------------
 1 file changed, 1 insertion(+), 25 deletions(-)

diffs:
diff --git a/lldb/options.mk b/lldb/options.mk
index fbc86431f4..2625b8fdf7 100644
--- a/lldb/options.mk
+++ b/lldb/options.mk
@@ -16,34 +16,10 @@ CMAKE_ARGS+=	-DLLVM_INCLUDE_TESTS=OFF
 
 .if ${PKG_OPTIONS:Mcurses}
 .include "../../mk/curses.buildlink3.mk"
-
-.  if ${OPSYS} == "NetBSD"
-.    if exists(/usr/include/panel.h)
+.include "../../mk/terminfo.buildlink3.mk"
 CMAKE_ARGS+=	-DLLDB_ENABLE_CURSES=ON
 CMAKE_ARGS+=	-DLLVM_ENABLE_TERMINFO=ON
-.    else
-.include "../../devel/ncurses/buildlink3.mk"
-.      if exists(${BUILDLINK_PREFIX.ncurses}/include/ncurses/panel.h)
-CMAKE_ARGS+=    -DLLDB_ENABLE_CURSES=ON
-CMAKE_ARGS+=	-DLLVM_ENABLE_TERMINFO=ON
-.      else
-CMAKE_ARGS+=    -DLLDB_ENABLE_CURSES=OFF
-CMAKE_ARGS+=	-DLLVM_ENABLE_TERMINFO=OFF
-.      endif
-.    endif
-.  else
-.include "../../devel/ncurses/buildlink3.mk"
-.    if exists(${BUILDLINK_PREFIX.ncurses}/include/ncurses/panel.h)
-CMAKE_ARGS+=    -DLLDB_ENABLE_CURSES=ON
-CMAKE_ARGS+=	-DLLVM_ENABLE_TERMINFO=ON
-.    else
-CMAKE_ARGS+=    -DLLDB_ENABLE_CURSES=OFF
-CMAKE_ARGS+=	-DLLVM_ENABLE_TERMINFO=OFF
-.    endif
-.  endif
-
 .else
-
 CMAKE_ARGS+=	-DLLDB_ENABLE_CURSES=OFF
 CMAKE_ARGS+=	-DLLVM_ENABLE_TERMINFO=OFF
 .endif


Home | Main Index | Thread Index | Old Index