lua: unzip also required during build (#39802)

Unzip required during build otherwise configuration of luarocks fails during installation of lua@5.3.6 on ubuntu 22.04 w/o system unzip.
This commit is contained in:
Martin Aumüller 2023-09-07 07:48:14 +02:00 committed by GitHub
parent 65dd6e1196
commit 4429e17db0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ def lua_share_dir(self):
return os.path.join("share", self.lua_dir_name, self.__verdir())
# luarocks needs unzip for some packages (e.g. lua-luaposix)
depends_on("unzip", type="run")
depends_on("unzip", type=("build", "run"))
# luarocks needs a fetcher (curl/wget), unfortunately I have not found
# how to force a choice for curl or wget, but curl seems the default.