View | Details | Raw Unified | Return to bug 172396
Collapse All | Expand All

(-)./Makefile (-7 / +17 lines)
Lines 1-12 Link Here
1
# New ports collection makefile for:	redis
1
# Created by:	Sergey Skvortsov <skv@protey.ru>
2
# Date created:	   03 Jul 2009
2
# $FreeBSD: ports/databases/redis-devel/Makefile,v 1.21 2012/08/03 04:24:58 osa Exp $
3
# Whom:		   Sergey Skvortsov <skv@protey.ru>
4
#
5
# $FreeBSD: ports/databases/redis-devel/Makefile,v 1.22 2012/09/19 18:20:19 osa Exp $
6
#
7
3
8
PORTNAME=	redis
4
PORTNAME=	redis
9
DISTVERSION=	2.6.0-rc7
5
DISTVERSION=	2.6.0-rc8
10
CATEGORIES=	databases
6
CATEGORIES=	databases
11
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	GOOGLE_CODE
12
PKGNAMESUFFIX=	-devel
8
PKGNAMESUFFIX=	-devel
Lines 18-23 Link Here
18
14
19
LIB_DEPENDS=	execinfo:${PORTSDIR}/devel/libexecinfo
15
LIB_DEPENDS=	execinfo:${PORTSDIR}/devel/libexecinfo
20
16
17
OPTIONS_DEFINE=	TESTS
18
TESTS_DESC=	Install lang/tcl for redis unit tests
19
20
.include <bsd.port.options.mk>
21
22
.if ${PORT_OPTIONS:MTESTS}
23
USE_TCL_BUILD=	yes
24
.endif
25
21
CFLAGS+=	-I${LOCALBASE}/include
26
CFLAGS+=	-I${LOCALBASE}/include
22
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lm -lexecinfo
27
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lm -lexecinfo
23
28
Lines 64-67 Link Here
64
	[ -d ${d} ] || ${MKDIR} ${d} && ${CHOWN} ${USERS}:${GROUPS} ${d}
69
	[ -d ${d} ] || ${MKDIR} ${d} && ${CHOWN} ${USERS}:${GROUPS} ${d}
65
.endfor
70
.endfor
66
71
72
test: build
73
	@cd ${WRKSRC} && ${TCLSH} tests/test_helper.tcl
74
75
regression-test: test
76
67
.include <bsd.port.mk>
77
.include <bsd.port.mk>
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (redis-2.6.0-rc7.tar.gz) = 538e68479465b074497c1e76df70e40a61e6cfcb5e8f9dce5eaabc5448eedd43
1
SHA256 (redis-2.6.0-rc8.tar.gz) = e3b843c960cb2d6512f208181880b4cb42877368f457d1df7af808918b97e36c
2
SIZE (redis-2.6.0-rc7.tar.gz) = 973045
2
SIZE (redis-2.6.0-rc8.tar.gz) = 999715
(-)./files/patch-src::replication.c (-10 lines)
Lines 1-10 Link Here
1
--- src/replication.c.orig	2012-09-19 10:46:28.000000000 +0400
2
+++ src/replication.c	2012-09-19 10:47:01.000000000 +0400
3
@@ -1,5 +1,7 @@
4
 #include "redis.h"
5
 
6
+#include <sys/types.h>
7
+#include <sys/socket.h>
8
 #include <sys/time.h>
9
 #include <unistd.h>
10
 #include <fcntl.h>

Return to bug 172396