summaryrefslogtreecommitdiff
path: root/databases/redis/files/patch-src-Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--databases/redis/files/patch-src-Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/databases/redis/files/patch-src-Makefile b/databases/redis/files/patch-src-Makefile
index 701d4fab774f..8846533cdd23 100644
--- a/databases/redis/files/patch-src-Makefile
+++ b/databases/redis/files/patch-src-Makefile
@@ -1,5 +1,5 @@
---- src/Makefile.orig 2013-07-30 22:20:02.000000000 +0400
-+++ src/Makefile 2013-08-13 22:36:30.000000000 +0400
+--- src/Makefile.orig 2014-01-14 14:17:43.000000000 +0400
++++ src/Makefile 2014-01-14 14:19:31.000000000 +0400
@@ -22,7 +22,7 @@
WARN=-Wall
OPT=$(OPTIMIZATION)
@@ -9,7 +9,7 @@
INSTALL_BIN=$(PREFIX)/bin
INSTALL=install
-@@ -52,14 +52,15 @@
+@@ -52,7 +52,7 @@
FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
FINAL_LIBS=-lm
@@ -17,14 +17,15 @@
+#DEBUG=-g -ggdb
ifeq ($(uname_S),SunOS)
- INSTALL=cp -pf
- FINAL_CFLAGS+= -D__EXTENSIONS__ -D_XPG6
- FINAL_LIBS+= -ldl -lnsl -lsocket -lpthread
--else ifeq ($(uname_S),Darwin)
--
-+else ifeq ($(uname_S),FreeBSD)
+ # SunOS
+@@ -63,6 +63,7 @@
+-ifeq ($(uname_S),Darwin)
+- # Darwin (nothing to do)
+-else
++ifeq ($(uname_S),FreeBSD)
+ FINAL_CFLAGS?= $(CFLAGS) $(REDIS_CFLAGS) -I${PREFIX}/include
+ FINAL_LDFLAGS= $(LDFLAGS)
- else
++else
+ # All the other OSes (notably Linux)
FINAL_LDFLAGS+= -rdynamic
FINAL_LIBS+= -pthread