summaryrefslogtreecommitdiff
path: root/databases/redis72/files/patch-deps-Makefile
diff options
context:
space:
mode:
authorYasuhiro Kimura <yasu@FreeBSD.org>2024-08-16 09:12:29 +0900
committerYasuhiro Kimura <yasu@FreeBSD.org>2024-08-16 11:48:38 +0900
commitcaa2e54ee9d6b6567e292a0ffdee714e20df3fea (patch)
tree1093204f93d6b1efd87f3114fc51ce32fedbb8ac /databases/redis72/files/patch-deps-Makefile
parentgames/libretro-shaders-slang: Update g20240804 → g20240809, Simplify port (diff)
databases/redis72: Copy from databases/redis
Copy databases/redis to databases/redis72 as preparation for updating the former to 7.4.
Diffstat (limited to 'databases/redis72/files/patch-deps-Makefile')
-rw-r--r--databases/redis72/files/patch-deps-Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/redis72/files/patch-deps-Makefile b/databases/redis72/files/patch-deps-Makefile
new file mode 100644
index 000000000000..33e36467dbca
--- /dev/null
+++ b/databases/redis72/files/patch-deps-Makefile
@@ -0,0 +1,21 @@
+--- deps/Makefile.orig 2023-07-10 11:55:20 UTC
++++ deps/Makefile
+@@ -84,7 +84,7 @@ LUA_LDFLAGS+= $(LDFLAGS)
+ ifeq ($(LUA_DEBUG),yes)
+ LUA_CFLAGS+= -O0 -g -DLUA_USE_APICHECK
+ else
+- LUA_CFLAGS+= -O2
++ LUA_CFLAGS+=
+ endif
+ ifeq ($(LUA_COVERAGE),yes)
+ LUA_CFLAGS += -fprofile-arcs -ftest-coverage
+@@ -112,7 +112,7 @@ endif
+
+ jemalloc: .make-prerequisites
+ @printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR)
+- cd jemalloc && ./configure --disable-cxx --with-version=5.3.0-0-g0 --with-lg-quantum=3 --disable-cache-oblivious --with-jemalloc-prefix=je_ CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" $(JEMALLOC_CONFIGURE_OPTS)
+- cd jemalloc && $(MAKE) lib/libjemalloc.a
++ cd jemalloc && ./configure --disable-cxx --with-version=5.3.0-0-g0 --with-lg-quantum=3 --disable-cache-oblivious --with-jemalloc-prefix=je_ CFLAGS="$(JEMALLOC_CFLAGS)" CXXFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" $(JEMALLOC_CONFIGURE_OPTS)
++ cd jemalloc && $(MAKE) CFLAGS="$(JEMALLOC_CFLAGS)" CXXFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" lib/libjemalloc.a
+
+ .PHONY: jemalloc