pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/lua-luv
Module Name: pkgsrc
Committed By: nia
Date: Mon Dec 20 20:53:12 UTC 2021
Modified Files:
pkgsrc/devel/lua-luv: Makefile
Log Message:
lua-luv: Needs lua-compat53
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/lua-luv/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-luv/Makefile
diff -u pkgsrc/devel/lua-luv/Makefile:1.3 pkgsrc/devel/lua-luv/Makefile:1.4
--- pkgsrc/devel/lua-luv/Makefile:1.3 Sun Dec 19 10:56:37 2021
+++ pkgsrc/devel/lua-luv/Makefile Mon Dec 20 20:53:12 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/12/19 10:56:37 nia Exp $
+# $NetBSD: Makefile,v 1.4 2021/12/20 20:53:12 nia Exp $
DISTNAME= luv-1.42.0-1
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/-1$/.1/1}
@@ -12,6 +12,12 @@ HOMEPAGE= https://github.com/luvit/luv
COMMENT= Bare libuv bindings for Lua
LICENSE= apache-2.0
+.include "../../lang/lua/luaversion.mk"
+
+.if ${_LUA_VERSION} == "51" || ${_LUA_VERSION} == "52"
+DEPENDS+= ${LUA_PKGPREFIX}-compat53-[0-9]*:../../devel/lua-compat53
+.endif
+
USE_CMAKE= yes
CMAKE_ARGS+= -DWITH_SHARED_LIBUV=ON
Home |
Main Index |
Thread Index |
Old Index