From: Rafał Miłecki Date: Fri, 28 Jun 2019 10:04:16 +0000 (+0200) Subject: lua5.3: fix build with MacOS's make X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1cd46d2e4ff20c0643e95740a0f42ed643358cc2;p=openwrt%2Fstaging%2Fjogo.git 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 --- 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