diff options
author | tnn <tnn@pkgsrc.org> | 2022-08-14 15:00:18 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2022-08-14 15:00:18 +0000 |
commit | 237aec946957360bb20956bcc0f459c9872b6785 (patch) | |
tree | 6e11827d1e7634595911e96190e6efb60a469eb6 /devel | |
parent | b2ea71fc034183de1447cd1c3cc5e995b242e301 (diff) | |
download | pkgsrc-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/Makefile | 10 |
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: |