pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/lldb lldb: Use OPSYS_VERSION for PT_STOP check. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bbf99bfafd6f
branches:  trunk
changeset: 383184:bbf99bfafd6f
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Aug 14 15:00:18 2022 +0000

description:
lldb: Use OPSYS_VERSION for PT_STOP check. This is NetBSD-current only.

diffstat:

 devel/lldb/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 79abe4f9be89 -r bbf99bfafd6f devel/lldb/Makefile
--- a/devel/lldb/Makefile       Sun Aug 14 14:44:55 2022 +0000
+++ b/devel/lldb/Makefile       Sun Aug 14 15:00:18 2022 +0000
@@ -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+=      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 @@
 .  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:



Home | Main Index | Thread Index | Old Index