pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/lldb lldb: Mark as not for NetBSD<9 because of m...
details: https://anonhg.NetBSD.org/pkgsrc/rev/79abe4f9be89
branches: trunk
changeset: 383183:79abe4f9be89
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Aug 14 14:44:55 2022 +0000
description:
lldb: Mark as not for NetBSD<9 because of missing ptrace(2) PT_STOP
The alternate code path which uses POSIX_LOG_PTRACE is now defunct.
Also fix some lint.
diffstat:
devel/lldb/Makefile | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diffs (48 lines):
diff -r 4c133951a603 -r 79abe4f9be89 devel/lldb/Makefile
--- a/devel/lldb/Makefile Sun Aug 14 14:15:48 2022 +0000
+++ b/devel/lldb/Makefile Sun Aug 14 14:44:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2022/08/12 08:54:30 pin Exp $
+# $NetBSD: Makefile,v 1.39 2022/08/14 14:44:55 tnn Exp $
.include "../../lang/llvm/version.mk"
@@ -16,12 +16,15 @@
DEPENDS+= swig3>=3.0:../../devel/swig3
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-CONFIGURE_DIRS= ${WRKDIR}/build
+# lacks ptrace(2) PT_STOP
+NOT_FOR_PLATFORM+= NetBSD-[1-8].*-*
+
+CONFIGURE_DIRS= build
CMAKE_ARG_PATH= ${WRKSRC}
USE_CMAKE= yes
USE_LANGUAGES= c c++14
-GCC_REQD+= 4.8
+GCC_REQD+= 7
PY_PATCHPLIST= yes
CMAKE_ARGS+= -DLLVM_CONFIG=${LLVM_CONFIG_PATH}
@@ -63,11 +66,6 @@
.include "../../mk/bsd.prefs.mk"
-PLIST_VARS+= posix
-.if ${OPSYS} != "Darwin"
-PLIST.posix= yes
-.endif
-
.if ${OPSYS} == "NetBSD"
. if exists(/usr/include/panel.h)
CMAKE_ARGS+= -DLLDB_DISABLE_CURSES:BOOL=FALSE
@@ -77,7 +75,7 @@
.endif
post-extract:
- ${MKDIR} ${WRKDIR}/build
+ ${MKDIR} ${WRKSRC}/build
#.include "../../devel/googletest/buildlink3.mk" # check-lldb-unit
.include "../../devel/libatomic_ops/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index