pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lua-language-server



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon May 27 09:08:22 UTC 2024

Modified Files:
        pkgsrc/devel/lua-language-server: Makefile

Log Message:
lua-language-server: Note why this thing can't work on netbsd-9.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/lua-language-server/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/lua-language-server/Makefile
diff -u pkgsrc/devel/lua-language-server/Makefile:1.12 pkgsrc/devel/lua-language-server/Makefile:1.13
--- pkgsrc/devel/lua-language-server/Makefile:1.12      Tue Apr 30 22:01:33 2024
+++ pkgsrc/devel/lua-language-server/Makefile   Mon May 27 09:08:22 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2024/04/30 22:01:33 nikita Exp $
+# $NetBSD: Makefile,v 1.13 2024/05/27 09:08:22 nia Exp $
 
 DISTNAME=              lua-language-server-3.8.3
 PKGNAME=               ${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
@@ -26,6 +26,12 @@ USE_LANGUAGES+=              c c++
 USE_CXX_FEATURES+=     c++17
 FORCE_CXX_STD=         c++17
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099975
+PKG_FAIL_REASON+=      "Requires EVFILT_USER, unavailable on NetBSD 9.x and prior"
+.endif
+
 BUILDLINK_TRANSFORM+=  rm:-Werror
 
 INSTALLATION_DIRS+=    share/lua-language-server/bin



Home | Main Index | Thread Index | Old Index