From d2787299b0e618ea4369005825532be378ff22f5 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 2 Jan 2025 14:06:29 +0100 Subject: [PATCH] lua51-luasocket: don't taint masterdir --- srcpkgs/lua51-luasocket/template | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/srcpkgs/lua51-luasocket/template b/srcpkgs/lua51-luasocket/template index d62a998ae34..e74a0518d4e 100644 --- a/srcpkgs/lua51-luasocket/template +++ b/srcpkgs/lua51-luasocket/template @@ -19,17 +19,10 @@ for _lua_version in $_lua_versions; do makedepends+=" ${_lua_version/./}-devel" done -#if [[ CROSS_BUILD ]]; then -# for _lua_version in $_lua_versions; do -# hostmakedepends+=" ${_lua_version/./}-devel" -# done -#fi - _rockname=${pkgname#lua51-} _rocksrel=1 _package() { - luarocks config --lua-version="$1" variables.LUA_INCDIR "${XBPS_CROSS_BASE}/usr/include/lua$1" - luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \ + luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" LUA_INCDIR="${XBPS_CROSS_BASE}/usr/include/lua$1" \ make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec" }