summaryrefslogtreecommitdiff
path: root/databases/redis4/files/patch-deps-Makefile
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2019-11-21 19:27:39 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2019-11-21 19:27:39 +0000
commit89e0b04783bb6f6a0dde7811bb8af7da69eeac17 (patch)
treef097f4a4a9b81f0cf39752ffc85ef362a0176797 /databases/redis4/files/patch-deps-Makefile
parentcad/openvsp: update to 3.19.1 (diff)
Repocopy the databases/redis to the databases/redis4 to update
the databases/redis port to the latest stable version, 5.0.6. PR: 241526 Reviewed by: portmgr (adamw) Approved by: portmgr (adamw) Differential Revision: https://reviews.freebsd.org/D22336
Notes
Notes: svn path=/head/; revision=518107
Diffstat (limited to 'databases/redis4/files/patch-deps-Makefile')
-rw-r--r--databases/redis4/files/patch-deps-Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/redis4/files/patch-deps-Makefile b/databases/redis4/files/patch-deps-Makefile
new file mode 100644
index 000000000000..e252c929c246
--- /dev/null
+++ b/databases/redis4/files/patch-deps-Makefile
@@ -0,0 +1,20 @@
+--- deps/Makefile.orig 2016-02-02 19:38:43.438304000 -0500
++++ deps/Makefile 2016-02-02 19:40:05.911356000 -0500
+@@ -59,7 +59,7 @@
+ LUA_CFLAGS= -D__C99FEATURES__=1
+ endif
+
+-LUA_CFLAGS+= -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' $(CFLAGS)
++LUA_CFLAGS+= -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' $(CFLAGS)
+ LUA_LDFLAGS+= $(LDFLAGS)
+ # lua's Makefile defines AR="ar rcu", which is unusual, and makes it more
+ # challenging to cross-compile lua (and redis). These defines make it easier
+@@ -69,7 +69,7 @@
+
+ lua: .make-prerequisites
+ @printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR)
+- cd lua/src && $(MAKE) all CFLAGS="$(LUA_CFLAGS)" MYLDFLAGS="$(LUA_LDFLAGS)" AR="$(AR) $(ARFLAGS)"
++ cd lua/src && $(MAKE) all CC="$(CC)" CFLAGS="$(LUA_CFLAGS)" MYLDFLAGS="$(LUA_LDFLAGS)" AR="$(AR) $(ARFLAGS)"
+
+ .PHONY: lua
+