summaryrefslogtreecommitdiff
path: root/devel/lua-rocks/patches/patch-src_luarocks_core_cfg.lua
blob: d14d98e2b6c76f19dc5df6f89965232e9d9e1b22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-src_luarocks_core_cfg.lua,v 1.1 2020/07/02 12:13:36 nia Exp $

It seems to not like NetBSD unzip(1).

--- src/luarocks/core/cfg.lua.orig	2020-02-07 10:24:14.000000000 +0000
+++ src/luarocks/core/cfg.lua
@@ -253,7 +253,7 @@ local function make_defaults(lua_version
          MKTEMP = "mktemp",
 
          ZIP = "zip",
-         UNZIP = "unzip -n",
+         UNZIP = "@PREFIX@/bin/unzip -n",
          GUNZIP = "gunzip",
          BUNZIP2 = "bunzip2",
          TAR = "tar",