Date: Mon, 08 Dec 2025 22:00:07 +0000 From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Eero Hanninen <fax@nohik.ee> Subject: git: 5996ac3220ce - main - databases/redis: Compile fixes Message-ID: <69374a67.36ce3.2c8b898a@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5996ac3220cee861e722ac19d5db85970a5297b6 commit 5996ac3220cee861e722ac19d5db85970a5297b6 Author: Eero Hanninen <fax@nohik.ee> AuthorDate: 2025-12-02 06:15:25 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2025-12-08 21:59:54 +0000 databases/redis: Compile fixes PR: 276891 Reported by: jekyll530@hotmail.com --- databases/redis/Makefile | 4 +++- databases/redis/files/patch-deps_xxhash_Makefile | 16 ++++++++++++++++ databases/redis/files/patch-tests_modules_Makefile | 14 ++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) diff --git a/databases/redis/Makefile b/databases/redis/Makefile index 07abbf78a3d5..65da3e1e9113 100644 --- a/databases/redis/Makefile +++ b/databases/redis/Makefile @@ -1,5 +1,6 @@ PORTNAME= redis DISTVERSION= 8.4.0 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= https://download.redis.io/releases/ @@ -15,12 +16,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS_RSALv2= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_SSPLv1= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -USES= compiler:c11 cpe gmake tcl:test +USES= compiler:c11 cpe gmake localbase:ldflags pkgconfig tcl:test CPE_VENDOR= redislabs USE_RC_SUBR= redis sentinel MAKE_ENV= OPTIMIZATION= \ V=yo +BINARY_ALIAS= gmd5sum=md5sum #PIE_UNSAFE= ld: error: relocation R_X86_64_32 cannot be used against local \ # symbol; recompile with -fPIC diff --git a/databases/redis/files/patch-deps_xxhash_Makefile b/databases/redis/files/patch-deps_xxhash_Makefile new file mode 100644 index 000000000000..f7dc31588e8f --- /dev/null +++ b/databases/redis/files/patch-deps_xxhash_Makefile @@ -0,0 +1,16 @@ +--- deps/xxhash/Makefile.orig 2025-12-02 07:19:06 UTC ++++ deps/xxhash/Makefile +@@ -186,11 +186,12 @@ clean: + $(RM) xxhsum.wasm xxhsum.js xxhsum.html + $(RM) xxh32sum$(EXT) xxh64sum$(EXT) xxh128sum$(EXT) xxh3sum$(EXT) + $(RM) fuzzer ++ifneq ($(wildcard tests/*),) + $(MAKE) -C tests clean + $(MAKE) -C tests/bench clean + $(MAKE) -C tests/collisions clean + @echo cleaning completed +- ++endif + + # ================================================= + # tests diff --git a/databases/redis/files/patch-tests_modules_Makefile b/databases/redis/files/patch-tests_modules_Makefile new file mode 100644 index 000000000000..b91426ed4d1b --- /dev/null +++ b/databases/redis/files/patch-tests_modules_Makefile @@ -0,0 +1,14 @@ +--- tests/modules/Makefile.orig 2025-12-02 10:24:24 UTC ++++ tests/modules/Makefile +@@ -34,6 +34,11 @@ endif + endif + endif + ++ifeq ($(uname_S),FreeBSD) ++ LD = cc ++ CC = cc ++endif ++ + # OS X 11.x doesn't have /usr/lib/libSystem.dylib and needs an explicit setting. + ifeq ($(uname_S),Darwin) + ifeq ("$(wildcard /usr/lib/libSystem.dylib)","")home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69374a67.36ce3.2c8b898a>
