Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2018 23:00:46 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472829 - head/databases/redis-devel
Message-ID:  <201806192300.w5JN0kHC084463@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: osa
Date: Tue Jun 19 23:00:46 2018
New Revision: 472829
URL: https://svnweb.freebsd.org/changeset/ports/472829

Log:
  Upgrade from 5.0-rc1 to 5.0-rc3.
  Add experimental support for jemalloc.	(*)
  
  Requested by:	farrokhi (*)

Modified:
  head/databases/redis-devel/Makefile
  head/databases/redis-devel/distinfo

Modified: head/databases/redis-devel/Makefile
==============================================================================
--- head/databases/redis-devel/Makefile	Tue Jun 19 22:55:51 2018	(r472828)
+++ head/databases/redis-devel/Makefile	Tue Jun 19 23:00:46 2018	(r472829)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	redis
-DISTVERSION=	5.0-rc1
+DISTVERSION=	5.0-rc3
 CATEGORIES=	databases
 PKGNAMESUFFIX=	-devel
 
@@ -14,10 +14,11 @@ LICENSE=	BSD3CLAUSE
 USE_GITHUB=	yes
 GH_ACCOUNT=	antirez
 
-OPTIONS_DEFINE=	TESTS TRIB
+OPTIONS_DEFINE=	JEMALLOC TESTS TRIB
 OPTIONS_RADIO=	EXTLUA
 OPTIONS_RADIO_EXTLUA=	LUA LUAJIT
 OPTIONS_SUB=	yes
+JEMALLOC_DESC=	Use jemalloc
 LUA_DESC=	Use lang/lua instead of builtin lua
 LUAJIT_DESC=	Use lang/luajit instead of builtin lua
 TESTS_DESC=	Install lang/tcl for redis unit tests
@@ -31,6 +32,10 @@ USE_GCC=	yes
 CFLAGS+=	-march=i586
 .endif
 
+.if ${PORT_OPTIONS:MJEMALLOC}
+MAKE_ENV=	"USE_JEMALLOC=yes"
+.endif
+
 .if ${PORT_OPTIONS:MTRIB}
 CATEGORIES+=	ruby
 USE_RUBY=	yes
@@ -86,8 +91,11 @@ PLIST_SUB+=	REDIS_USER=${USERS} \
 	REDIS_DBDIR=${REDIS_DBDIR} \
 	REDIS_RUNDIR=${REDIS_RUNDIR}
 
-.if ${PORT_OPTIONS:MLUAJIT} || ${PORT_OPTIONS:MLUA}
 post-patch:
+.if ${PORT_OPTIONS:MJEMALLOC}
+	@${REINPLACE_CMD} '35s!Linux!FreeBSD!g' ${WRKSRC}/src/Makefile
+.endif
+.if ${PORT_OPTIONS:MLUAJIT} || ${PORT_OPTIONS:MLUA}
 	@cd ${WRKSRC}/deps/lua/src && ${CP} fpconv.* lua_* strbuf.* ${WRKSRC}/src/
 .endif
 

Modified: head/databases/redis-devel/distinfo
==============================================================================
--- head/databases/redis-devel/distinfo	Tue Jun 19 22:55:51 2018	(r472828)
+++ head/databases/redis-devel/distinfo	Tue Jun 19 23:00:46 2018	(r472829)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1528123672
-SHA256 (antirez-redis-5.0-rc1_GH0.tar.gz) = b5b1abcd3e7594085fed85376e2bc0368bf60dd88afcc28cb0cc2250a6d798a0
-SIZE (antirez-redis-5.0-rc1_GH0.tar.gz) = 1918431
+TIMESTAMP = 1529067158
+SHA256 (antirez-redis-5.0-rc3_GH0.tar.gz) = 4bb2eeef3695d66d8b64767825acfeeb157d64536233eac7eae71b236fd6554f
+SIZE (antirez-redis-5.0-rc3_GH0.tar.gz) = 1925158



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806192300.w5JN0kHC084463>