From 24645c0ee1103235338737fb3c4478f3c4109bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Fri, 28 Jun 2019 11:38:23 +0200 Subject: lua: fix build with MacOS's make MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It apparently requires passing V variable explicitly. Fixes: fe59b46ca7e0 ("lua: include version number in installed files") Reported-by: Kevin Darbyshire-Bryant Signed-off-by: Rafał Miłecki --- package/utils/lua/patches-host/001-include-version-number.patch | 9 +++++++++ package/utils/lua/patches/001-include-version-number.patch | 9 +++++++++ 2 files changed, 18 insertions(+) (limited to 'package/utils/lua') diff --git a/package/utils/lua/patches-host/001-include-version-number.patch b/package/utils/lua/patches-host/001-include-version-number.patch index b7056fd47c..f769e60736 100644 --- a/package/utils/lua/patches-host/001-include-version-number.patch +++ b/package/utils/lua/patches-host/001-include-version-number.patch @@ -24,6 +24,15 @@ diff --git a/Makefile b/Makefile # Lua version and release. V= 5.1 +@@ -53,7 +53,7 @@ R= 5.1.5 + all: $(PLAT) + + $(PLATS) clean: +- cd src && $(MAKE) $@ ++ cd src && $(MAKE) $@ V=$V + + test: dummy + src/lua test/hello.lua diff --git a/doc/lua.1 b/doc/lua5.1.1 rename from doc/lua.1 rename to doc/lua5.1.1 diff --git a/package/utils/lua/patches/001-include-version-number.patch b/package/utils/lua/patches/001-include-version-number.patch index b7056fd47c..f769e60736 100644 --- a/package/utils/lua/patches/001-include-version-number.patch +++ b/package/utils/lua/patches/001-include-version-number.patch @@ -24,6 +24,15 @@ diff --git a/Makefile b/Makefile # Lua version and release. V= 5.1 +@@ -53,7 +53,7 @@ R= 5.1.5 + all: $(PLAT) + + $(PLATS) clean: +- cd src && $(MAKE) $@ ++ cd src && $(MAKE) $@ V=$V + + test: dummy + src/lua test/hello.lua diff --git a/doc/lua.1 b/doc/lua5.1.1 rename from doc/lua.1 rename to doc/lua5.1.1 -- cgit v1.2.3