Update from 2.4.15 to 2.4.16.

Submitted by:	Kubilay Kocak aka koobs dot freebsd at gmail dot com
Tests:		https://redports.org/buildarchive/20120802120704-7005/
PR:		170326
This commit is contained in:
Sergey A. Osokin 2012-08-02 18:20:11 +00:00
parent 79446106b6
commit 1983f961b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301867
4 changed files with 10 additions and 7 deletions

View file

@ -6,16 +6,19 @@
#
PORTNAME= redis
PORTVERSION= 2.4.15
PORTVERSION= 2.4.16
CATEGORIES= databases
MASTER_SITES= GOOGLE_CODE
MAINTAINER= osa@FreeBSD.org
COMMENT= A persistent key-value database with built-in net interface
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo
LICENSE= BSD
LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lm -lexecinfo
CONFLICTS?= redis-devel-2.6.*

View file

@ -1,2 +1,2 @@
SHA256 (redis-2.4.15.tar.gz) = 2e5467079aa130d9e968dd7b35411940f012d322bf68d287c7af6f4d40e393c4
SIZE (redis-2.4.15.tar.gz) = 653949
SHA256 (redis-2.4.16.tar.gz) = d35cc89d73aa1ff05af5f1380a4411c828979b3b446f5caf8b5720225b38e15b
SIZE (redis-2.4.16.tar.gz) = 649908

View file

@ -20,8 +20,8 @@
endif
+ifeq ($(uname_S),FreeBSD)
+ CFLAGS?=$(CFLAGS)
+ CCLINK?=-pthread
+ LDFLAGS?=-L. -Wl,-rpath,.
+ CCLINK?=$(PTHREAD_LIBS)
+ LDFLAGS?=$(LDFLAGS)
+ DYLIBNAME?=libhiredis.so
+ DYLIB_MAKE_CMD?=$(CC) -o ${DYLIBNAME} ${OBJ}
+ STLIBNAME?=libhiredis.a

View file

@ -6,7 +6,7 @@
DEBUG?=-g -ggdb
+else ifeq ($(uname_S),FreeBSD)
+ CFLAGS?= $(CFLAGS)
+ CCLINK?= -pthread -lm -L$(PREFIX)/lib -lexecinfo
+ CCLINK?= $(LDFLAGS)
else
CFLAGS?=-std=c99 -pedantic $(OPTIMIZATION) -Wall -W $(ARCH) $(PROF)
CCLINK?=-lm -pthread