aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2019-11-30 08:12:29 +0800
committerosa <osa@FreeBSD.org>2019-11-30 08:12:29 +0800
commit38cead9c12b5240df7b0e76e1d60f32e8f00ce19 (patch)
treec8cd572ab0f817992ce7387227241ae736686e79 /databases
parent560fee22e63fca0ab21e5791638f5178ae05eca0 (diff)
downloadfreebsd-ports-gnome-38cead9c12b5240df7b0e76e1d60f32e8f00ce19.tar.gz
freebsd-ports-gnome-38cead9c12b5240df7b0e76e1d60f32e8f00ce19.tar.zst
freebsd-ports-gnome-38cead9c12b5240df7b0e76e1d60f32e8f00ce19.zip
Update to the recent commit.
Make portlint(1) more happier by regenerating the patch and move USES knob up. Add another patch to respect [C|CXX]FLAGS.
Diffstat (limited to 'databases')
-rw-r--r--databases/redis-devel/Makefile8
-rw-r--r--databases/redis-devel/distinfo6
-rw-r--r--databases/redis-devel/files/patch-deps-hiredis-Makefile10
-rw-r--r--databases/redis-devel/files/patch-deps_Makefile18
-rw-r--r--databases/redis-devel/files/patch-src-Makefile14
5 files changed, 36 insertions, 20 deletions
diff --git a/databases/redis-devel/Makefile b/databases/redis-devel/Makefile
index d51df870b7bf..a790ae050bfe 100644
--- a/databases/redis-devel/Makefile
+++ b/databases/redis-devel/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= redis
-PORTVERSION= 6.0.0.20191125
+PORTVERSION= 6.0.0.20191129
CATEGORIES= databases
PKGNAMESUFFIX= -devel
@@ -11,10 +11,9 @@ COMMENT= Persistent key-value database with built-in net interface
LICENSE= BSD3CLAUSE
+USES+= compiler gmake
USE_GITHUB= yes
-GH_ACCOUNT= antirez
-GH_PROJECT= ${PORTNAME}
-GH_TAGNAME= a1b6548
+GH_TUPLE= antirez:${PORTNAME}:f5d4853
OPTIONS_DEFINE= JEMALLOC TESTS TRIB
OPTIONS_RADIO= EXTLUA
@@ -26,7 +25,6 @@ LUAJIT_DESC= Use lang/luajit instead of builtin lua
TESTS_DESC= Install lang/tcl for redis unit tests
TRIB_DESC= Install redis-trib.rb (lang/ruby req.)
-USES+= compiler gmake
MAKE_ENV= "V=yo"
.include <bsd.port.options.mk>
diff --git a/databases/redis-devel/distinfo b/databases/redis-devel/distinfo
index 9dfa9a58de53..3e2f3cbef689 100644
--- a/databases/redis-devel/distinfo
+++ b/databases/redis-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1574869655
-SHA256 (antirez-redis-6.0.0.20191125-a1b6548_GH0.tar.gz) = 33f9e9af6339d7d6aaa583ba8fefc42986a3577cacc63db3750175f88a484f58
-SIZE (antirez-redis-6.0.0.20191125-a1b6548_GH0.tar.gz) = 2164648
+TIMESTAMP = 1575048154
+SHA256 (antirez-redis-6.0.0.20191129-f5d4853_GH0.tar.gz) = ad80a318994bd763362825d73b5b2c674dbbee66a7caa25bbe33608025bcf0dd
+SIZE (antirez-redis-6.0.0.20191129-f5d4853_GH0.tar.gz) = 2164641
diff --git a/databases/redis-devel/files/patch-deps-hiredis-Makefile b/databases/redis-devel/files/patch-deps-hiredis-Makefile
index db5f7b7c5ca6..1b08c4514d3d 100644
--- a/databases/redis-devel/files/patch-deps-hiredis-Makefile
+++ b/databases/redis-devel/files/patch-deps-hiredis-Makefile
@@ -1,6 +1,6 @@
---- deps/hiredis/Makefile.orig 2019-11-24 18:44:27.552196000 -0500
-+++ deps/hiredis/Makefile 2019-11-24 19:16:28.147610000 -0500
-@@ -21,7 +21,7 @@
+--- deps/hiredis/Makefile.orig 2019-11-29 16:35:59 UTC
++++ deps/hiredis/Makefile
+@@ -21,7 +21,7 @@ HIREDIS_PATCH=$(shell grep HIREDIS_PATCH hiredis.h | a
HIREDIS_SONAME=$(shell grep HIREDIS_SONAME hiredis.h | awk '{print $$3}')
# Installation related variables and target
@@ -9,7 +9,7 @@
INCLUDE_PATH?=include/hiredis
LIBRARY_PATH?=lib
PKGCONF_PATH?=pkgconfig
-@@ -44,10 +44,8 @@
+@@ -44,10 +44,8 @@ export REDIS_TEST_CONFIG
# Fallback to gcc when $CC is not in $PATH.
CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++')
@@ -21,7 +21,7 @@
REAL_LDFLAGS=$(LDFLAGS)
DYLIBSUFFIX=so
-@@ -82,6 +80,16 @@
+@@ -82,6 +80,16 @@ endif
ifeq ($(uname_S),SunOS)
REAL_LDFLAGS+= -ldl -lnsl -lsocket
DYLIB_MAKE_CMD=$(CC) -G -o $(DYLIBNAME) -h $(DYLIB_MINOR_NAME) $(LDFLAGS)
diff --git a/databases/redis-devel/files/patch-deps_Makefile b/databases/redis-devel/files/patch-deps_Makefile
new file mode 100644
index 000000000000..ab5b282c67f5
--- /dev/null
+++ b/databases/redis-devel/files/patch-deps_Makefile
@@ -0,0 +1,18 @@
+--- deps/Makefile.orig 2019-11-29 16:35:59 UTC
++++ deps/Makefile
+@@ -76,12 +76,12 @@ lua: .make-prerequisites
+
+ .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.1.0-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)"
+- cd jemalloc && $(MAKE) CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" lib/libjemalloc.a
++ cd jemalloc && ./configure --with-version=5.1.0-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence 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
diff --git a/databases/redis-devel/files/patch-src-Makefile b/databases/redis-devel/files/patch-src-Makefile
index 039f8f0dbe1e..6b3ed47b68be 100644
--- a/databases/redis-devel/files/patch-src-Makefile
+++ b/databases/redis-devel/files/patch-src-Makefile
@@ -1,4 +1,4 @@
---- src/Makefile.orig 2019-09-25 10:40:18 UTC
+--- src/Makefile.orig 2019-11-29 16:35:59 UTC
+++ src/Makefile
@@ -29,7 +29,7 @@ endif
WARN=-Wall -W -Wno-missing-field-initializers
@@ -15,11 +15,11 @@
FINAL_LIBS=-lm
-DEBUG=-g -ggdb
- ifeq ($(uname_S),SunOS)
- # SunOS
-@@ -94,6 +93,11 @@ ifeq ($(uname_S),Darwin)
- # Darwin
- FINAL_LIBS+= -ldl
+ # Linux ARM needs -latomic at linking time
+ ifneq (,$(filter aarch64 armv,$(uname_M)))
+@@ -105,6 +104,11 @@ ifeq ($(uname_S),Darwin)
+ OPENSSL_CFLAGS=-I/usr/local/opt/openssl/include
+ OPENSSL_LDFLAGS=-L/usr/local/opt/openssl/lib
else
+ifeq ($(uname_S),FreeBSD)
+ # FreeBSD
@@ -29,7 +29,7 @@
ifeq ($(uname_S),AIX)
# AIX
FINAL_LDFLAGS+= -Wl,-bexpall
-@@ -120,6 +124,7 @@ else
+@@ -131,6 +135,7 @@ else
# All the other OSes (notably Linux)
FINAL_LDFLAGS+= -rdynamic
FINAL_LIBS+=-ldl -pthread -lrt