aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-resty-hmac/make-install-without-string.lua.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/lua-resty-hmac/make-install-without-string.lua.patch')
-rw-r--r--community/lua-resty-hmac/make-install-without-string.lua.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/lua-resty-hmac/make-install-without-string.lua.patch b/community/lua-resty-hmac/make-install-without-string.lua.patch
new file mode 100644
index 00000000000..ebd0df44c1a
--- /dev/null
+++ b/community/lua-resty-hmac/make-install-without-string.lua.patch
@@ -0,0 +1,13 @@
+--- a/Makefile
++++ b/Makefile
+@@ -11,9 +11,8 @@
+ @$(INSTALL) -d resty_modules/lualib/resty
+ @test -f resty_modules/lualib/resty/string.lua || curl -s -o resty_modules/lualib/resty/string.lua https://raw.githubusercontent.com/openresty/lua-resty-string/master/lib/resty/string.lua
+
+-install: all
++install:
+ $(INSTALL) -d $(DESTDIR)$(LUA_LIB_DIR)/resty
+- $(INSTALL) resty_modules/lualib/resty/*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty
+ $(INSTALL) lib/resty/*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty
+
+ test: install