summaryrefslogtreecommitdiff
path: root/databases/redis-devel/files/patch-deps-Makefile
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2021-10-19 22:04:02 -0400
committerSergey A. Osokin <osa@FreeBSD.org>2021-10-19 22:04:02 -0400
commitf3ecabe6bfdc18e70dbf6d0bf71616264569b82f (patch)
tree41bac174ece5e7fbfd62c89744e9af7973bfe256 /databases/redis-devel/files/patch-deps-Makefile
parentdatabases/redis-devel: update to the recent commit (diff)
databases/redis-devel: merge two patches
There's no any reasons to keep two patches for deps/Makefile. No functional changes, so do not bump PORTREVISION.
Diffstat (limited to 'databases/redis-devel/files/patch-deps-Makefile')
-rw-r--r--databases/redis-devel/files/patch-deps-Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/databases/redis-devel/files/patch-deps-Makefile b/databases/redis-devel/files/patch-deps-Makefile
index c2a757c59b33..cf77ec972392 100644
--- a/databases/redis-devel/files/patch-deps-Makefile
+++ b/databases/redis-devel/files/patch-deps-Makefile
@@ -1,5 +1,5 @@
---- deps/Makefile.orig 2021-01-12 09:21:03.000000000 -0500
-+++ deps/Makefile 2021-01-13 11:37:45.979445000 -0500
+--- deps/Makefile.orig 2021-10-19 22:00:31.196463000 -0400
++++ deps/Makefile 2021-10-19 22:00:41.781836000 -0400
@@ -69,7 +69,7 @@
LUA_CFLAGS= -D__C99FEATURES__=1
endif
@@ -9,7 +9,7 @@
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
-@@ -79,7 +79,7 @@
+@@ -79,16 +79,16 @@
lua: .make-prerequisites
@printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR)
@@ -18,3 +18,15 @@
.PHONY: lua
+-JEMALLOC_CFLAGS= -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops $(CFLAGS)
++JEMALLOC_CFLAGS= -std=gnu99 -Wall -pipe -funroll-loops $(CFLAGS)
+ JEMALLOC_LDFLAGS= $(LDFLAGS)
+
+ jemalloc: .make-prerequisites
+ @printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR)
+- cd jemalloc && ./configure --with-version=5.2.1-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)"
+- cd jemalloc && $(MAKE) CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" lib/libjemalloc.a
++ cd jemalloc && ./configure --with-version=5.2.1-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ CFLAGS="$(JEMALLOC_CFLAGS)" CXXFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)"
++ cd jemalloc && $(MAKE) CFLAGS="$(JEMALLOC_CFLAGS)" CXXFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" lib/libjemalloc.a
+
+ .PHONY: jemalloc