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: Install headers and other files...
details: https://anonhg.NetBSD.org/pkgsrc/rev/54c40e57d2c0
branches: trunk
changeset: 377392:54c40e57d2c0
user: nia <nia%pkgsrc.org@localhost>
date: Wed Apr 20 16:15:01 2022 +0000
description:
lua-luv: Install headers and other files required by neovim.
Unfortnately this requires we add a self-conflict.
diffstat:
devel/lua-luv/Makefile | 8 +++++++-
devel/lua-luv/PLIST | 10 +++++++++-
devel/lua-luv/buildlink3.mk | 16 ++++++++++++++++
3 files changed, 32 insertions(+), 2 deletions(-)
diffs (70 lines):
diff -r 6178c6f2a7a0 -r 54c40e57d2c0 devel/lua-luv/Makefile
--- a/devel/lua-luv/Makefile Wed Apr 20 12:49:41 2022 +0000
+++ b/devel/lua-luv/Makefile Wed Apr 20 16:15:01 2022 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2022/02/19 08:18:22 nia Exp $
+# $NetBSD: Makefile,v 1.8 2022/04/20 16:15:01 nia Exp $
DISTNAME= luv-1.43.0-0
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/-0$/.0/1}
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=luvit/}
GITHUB_PROJECT= luv
@@ -12,6 +13,8 @@
COMMENT= Bare libuv bindings for Lua
LICENSE= apache-2.0
+LUA_SELF_CONFLICT= yes
+
.include "../../lang/lua/luaversion.mk"
.if ${_LUA_VERSION} == "51" || ${_LUA_VERSION} == "52"
@@ -22,9 +25,12 @@
CMAKE_ARGS+= -DWITH_SHARED_LIBUV=ON
CMAKE_ARGS+= -DBUILD_MODULE=ON
+CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
CMAKE_ARGS+= -DLUA_BUILD_TYPE=System
CMAKE_ARGS+= -DWITH_LUA_ENGINE=Lua
+PKGCONFIG_OVERRIDE+= libluv.pc.in
+
pre-configure:
.if ${_LUA_VERSION} == "51" || ${_LUA_VERSION} == "52"
${CP} ${PREFIX}/${LUA_INCDIR}/compat-5.3.* ${WRKSRC}/src
diff -r 6178c6f2a7a0 -r 54c40e57d2c0 devel/lua-luv/PLIST
--- a/devel/lua-luv/PLIST Wed Apr 20 12:49:41 2022 +0000
+++ b/devel/lua-luv/PLIST Wed Apr 20 16:15:01 2022 +0000
@@ -1,2 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2020/07/02 20:48:09 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/04/20 16:15:01 nia Exp $
+include/luv/lhandle.h
+include/luv/lreq.h
+include/luv/luv.h
+include/luv/util.h
+lib/libluv.so
+lib/libluv.so.1
+lib/libluv.so.1.43.0
${LUA_CDIR}/luv.so
+lib/pkgconfig/libluv.pc
diff -r 6178c6f2a7a0 -r 54c40e57d2c0 devel/lua-luv/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-luv/buildlink3.mk Wed Apr 20 16:15:01 2022 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/04/20 16:15:01 nia Exp $
+
+BUILDLINK_TREE+= lua-luv
+
+.if !defined(LUA_LUV_BUILDLINK3_MK)
+LUA_LUV_BUILDLINK3_MK:=
+
+.include "../../lang/lua/luaversion.mk"
+
+BUILDLINK_API_DEPENDS.lua-luv+= ${LUA_PKGPREFIX}-luv>=1.43.0.0nb1
+BUILDLINK_PKGSRCDIR.lua-luv?= ../../devel/lua-luv
+
+.include "../../devel/libuv/buildlink3.mk"
+.endif # LUA_LUV_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -lua-luv
Home |
Main Index |
Thread Index |
Old Index