summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2022-08-14 15:00:18 +0000
committertnn <tnn@pkgsrc.org>2022-08-14 15:00:18 +0000
commit237aec946957360bb20956bcc0f459c9872b6785 (patch)
tree6e11827d1e7634595911e96190e6efb60a469eb6 /devel
parentb2ea71fc034183de1447cd1c3cc5e995b242e301 (diff)
downloadpkgsrc-237aec946957360bb20956bcc0f459c9872b6785.tar.gz
lldb: Use OPSYS_VERSION for PT_STOP check. This is NetBSD-current only.
Diffstat (limited to 'devel')
-rw-r--r--devel/lldb/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/lldb/Makefile b/devel/lldb/Makefile
index 57fcbd3a0f6..64d71cbd4c2 100644
--- a/devel/lldb/Makefile
+++ b/devel/lldb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2022/08/14 14:44:55 tnn Exp $
+# $NetBSD: Makefile,v 1.40 2022/08/14 15:00:18 tnn Exp $
.include "../../lang/llvm/version.mk"
@@ -16,9 +16,6 @@ DEPENDS+= clang-${PKGVERSION_NOREV}{,nb*}:../../lang/clang
DEPENDS+= swig3>=3.0:../../devel/swig3
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-# lacks ptrace(2) PT_STOP
-NOT_FOR_PLATFORM+= NetBSD-[1-8].*-*
-
CONFIGURE_DIRS= build
CMAKE_ARG_PATH= ${WRKSRC}
@@ -72,6 +69,11 @@ CMAKE_ARGS+= -DLLDB_DISABLE_CURSES:BOOL=FALSE
. else
CMAKE_ARGS+= -DLLDB_DISABLE_CURSES:BOOL=TRUE
. endif
+
+. if ${OPSYS_VERSION} < 99922
+# lacks ptrace(2) PT_STOP
+NOT_FOR_PLATFORM+= NetBSD-*-*
+. endif
.endif
post-extract: