pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lldb



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sun Aug 14 15:00:18 UTC 2022

Modified Files:
        pkgsrc/devel/lldb: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/devel/lldb/Makefile

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

Modified files:

Index: pkgsrc/devel/lldb/Makefile
diff -u pkgsrc/devel/lldb/Makefile:1.39 pkgsrc/devel/lldb/Makefile:1.40
--- pkgsrc/devel/lldb/Makefile:1.39     Sun Aug 14 14:44:55 2022
+++ pkgsrc/devel/lldb/Makefile  Sun Aug 14 15:00:18 2022
@@ -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*
 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=
 .  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