aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2019-06-28 12:04:16 +0200
committerRafał Miłecki <rafal@milecki.pl>2019-06-28 12:04:16 +0200
commit1cd46d2e4ff20c0643e95740a0f42ed643358cc2 (patch)
tree70ad15b4f9d1a48c54c24a1afca0795005a8a47f /package/utils
parent24645c0ee1103235338737fb3c4478f3c4109bc1 (diff)
downloadupstream-1cd46d2e4ff20c0643e95740a0f42ed643358cc2.tar.gz
upstream-1cd46d2e4ff20c0643e95740a0f42ed643358cc2.tar.bz2
upstream-1cd46d2e4ff20c0643e95740a0f42ed643358cc2.zip
lua5.3: fix build with MacOS's make
It apparently requires passing V variable explicitly. Fixes: 6b161bb8d528 ("lua5.3: package Lua 5.3 version") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/utils')
-rw-r--r--package/utils/lua5.3/patches-host/001-include-version-number.patch9
-rw-r--r--package/utils/lua5.3/patches/001-include-version-number.patch9
2 files changed, 18 insertions, 0 deletions
diff --git a/package/utils/lua5.3/patches-host/001-include-version-number.patch b/package/utils/lua5.3/patches-host/001-include-version-number.patch
index 08990f52ca..78f0054960 100644
--- a/package/utils/lua5.3/patches-host/001-include-version-number.patch
+++ b/package/utils/lua5.3/patches-host/001-include-version-number.patch
@@ -34,6 +34,15 @@ diff --git a/Makefile b/Makefile
# Lua version and release.
V= 5.3
+@@ -52,7 +52,7 @@ R= $V.4
+ all: $(PLAT)
+
+ $(PLATS) clean:
+- cd src && $(MAKE) $@
++ cd src && $(MAKE) $@ V=$V
+
+ test: dummy
+ src/lua -v
diff --git a/doc/lua.1 b/doc/lua5.3.1
rename from doc/lua.1
rename to doc/lua5.3.1
diff --git a/package/utils/lua5.3/patches/001-include-version-number.patch b/package/utils/lua5.3/patches/001-include-version-number.patch
index 08990f52ca..78f0054960 100644
--- a/package/utils/lua5.3/patches/001-include-version-number.patch
+++ b/package/utils/lua5.3/patches/001-include-version-number.patch
@@ -34,6 +34,15 @@ diff --git a/Makefile b/Makefile
# Lua version and release.
V= 5.3
+@@ -52,7 +52,7 @@ R= $V.4
+ all: $(PLAT)
+
+ $(PLATS) clean:
+- cd src && $(MAKE) $@
++ cd src && $(MAKE) $@ V=$V
+
+ test: dummy
+ src/lua -v
diff --git a/doc/lua.1 b/doc/lua5.3.1
rename from doc/lua.1
rename to doc/lua5.3.1