pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/lua-luv lua-luv: Needs lua-compat53
details: https://anonhg.NetBSD.org/pkgsrc/rev/f16aa3def4b5
branches: trunk
changeset: 771639:f16aa3def4b5
user: nia <nia%pkgsrc.org@localhost>
date: Mon Dec 20 20:53:12 2021 +0000
description:
lua-luv: Needs lua-compat53
diffstat:
devel/lua-luv/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 60b1b56260e6 -r f16aa3def4b5 devel/lua-luv/Makefile
--- a/devel/lua-luv/Makefile Mon Dec 20 20:47:57 2021 +0000
+++ b/devel/lua-luv/Makefile Mon Dec 20 20:53:12 2021 +0000
@@ -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 @@
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