pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lua-rocks



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Jan  6 22:01:18 UTC 2026

Modified Files:
        pkgsrc/devel/lua-rocks: Makefile PLIST

Log Message:
lua-rocks: fix PLIST for lua51 and lua52


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/lua-rocks/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/lua-rocks/PLIST

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-rocks/Makefile
diff -u pkgsrc/devel/lua-rocks/Makefile:1.21 pkgsrc/devel/lua-rocks/Makefile:1.22
--- pkgsrc/devel/lua-rocks/Makefile:1.21        Mon Jan  5 22:10:35 2026
+++ pkgsrc/devel/lua-rocks/Makefile     Tue Jan  6 22:01:18 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2026/01/05 22:10:35 alnsn Exp $
+# $NetBSD: Makefile,v 1.22 2026/01/06 22:01:18 wiz Exp $
 
 DISTNAME=      luarocks-3.13.0
 PKGNAME=       ${DISTNAME:S/luarocks/${LUA_PKGPREFIX}-rocks/}
@@ -44,6 +44,12 @@ CONF_FILES=          ${LUA_EXAMPLESDIR}/${LUAROC
 PLIST_SUBST+=          LUADOTVER=${_LUA_DOT_VERSION}
 FILES_SUBST+=          LUADOTVER=${_LUA_DOT_VERSION}
 
+PLIST_VARS+=           compat
+.include "../../lang/lua/luaversion.mk"
+.if ${LUA_PACKAGE} == "lua51" || ${LUA_PACKAGE} == "lua52"
+PLIST.compat=          yes
+.endif
+
 SUBST_CLASSES+=                prefix
 SUBST_STAGE.prefix=    pre-configure
 SUBST_FILES.prefix=    src/luarocks/core/cfg.lua

Index: pkgsrc/devel/lua-rocks/PLIST
diff -u pkgsrc/devel/lua-rocks/PLIST:1.6 pkgsrc/devel/lua-rocks/PLIST:1.7
--- pkgsrc/devel/lua-rocks/PLIST:1.6    Mon Jan  5 22:10:35 2026
+++ pkgsrc/devel/lua-rocks/PLIST        Tue Jan  6 22:01:18 2026
@@ -1,7 +1,10 @@
-@comment $NetBSD: PLIST,v 1.6 2026/01/05 22:10:35 alnsn Exp $
+@comment $NetBSD: PLIST,v 1.7 2026/01/06 22:01:18 wiz Exp $
 bin/luarocks-${LUADOTVER}
 bin/luarocks-admin-${LUADOTVER}
 ${LUA_EXAMPLESDIR}/config-${LUADOTVER}.lua
+${PLIST.compat}${LUA_LDIR}/compat53/file_mt.lua
+${PLIST.compat}${LUA_LDIR}/compat53/init.lua
+${PLIST.compat}${LUA_LDIR}/compat53/module.lua
 ${LUA_LDIR}/luarocks/admin/cache.lua
 ${LUA_LDIR}/luarocks/admin/cmd/add.lua
 ${LUA_LDIR}/luarocks/admin/cmd/make_manifest.lua



Home | Main Index | Thread Index | Old Index