pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/redis Fix NetBSD support. Thanks to Mustafa ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ec4ca5614d1
branches:  trunk
changeset: 354894:0ec4ca5614d1
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Mon Nov 14 14:30:17 2016 +0000

description:
Fix NetBSD support. Thanks to Mustafa Dogan!

diffstat:

 databases/redis/distinfo         |   4 ++--
 databases/redis/patches/patch-ab |  26 +++++++++++++++++++++++---
 2 files changed, 25 insertions(+), 5 deletions(-)

diffs (54 lines):

diff -r 2cda94b71494 -r 0ec4ca5614d1 databases/redis/distinfo
--- a/databases/redis/distinfo  Mon Nov 14 14:28:25 2016 +0000
+++ b/databases/redis/distinfo  Mon Nov 14 14:30:17 2016 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.26 2016/11/03 14:13:19 fhajny Exp $
+$NetBSD: distinfo,v 1.27 2016/11/14 14:30:17 fhajny Exp $
 
 SHA1 (redis-3.2.5.tar.gz) = 6f6333db6111badaa74519d743589ac4635eba7a
 RMD160 (redis-3.2.5.tar.gz) = 56e69543d63975f84286ad5605b71c68ded69d4d
 SHA512 (redis-3.2.5.tar.gz) = 4ecf6277c8fdf4411223b9f5a5c8308829da9bd756b45de5217d469e9def8faad8c05b6348c06aef99eca9245d45abfd52df056c3c819723da66a2ca20c381dd
 Size (redis-3.2.5.tar.gz) = 1544040 bytes
-SHA1 (patch-ab) = 21754f59e9f1013095fe47ccf7411b438385d558
+SHA1 (patch-ab) = 91678cf71a05cf3d9227bdb5feb8fab57b5e4259
 SHA1 (patch-ac) = 1d848860a39af7a93a06eb8f3001fe89cb1bb3ad
 SHA1 (patch-deps_hiredis_fmacros.h) = b9d7d0a82e6794078d997769db6e5572f981b445
 SHA1 (patch-src_object.c) = 30ffaec9c7e6135e3a5576cd1a35d7bcec668299
diff -r 2cda94b71494 -r 0ec4ca5614d1 databases/redis/patches/patch-ab
--- a/databases/redis/patches/patch-ab  Mon Nov 14 14:28:25 2016 +0000
+++ b/databases/redis/patches/patch-ab  Mon Nov 14 14:30:17 2016 +0000
@@ -1,7 +1,8 @@
-$NetBSD: patch-ab,v 1.3 2015/04/13 11:33:35 fhajny Exp $
+$NetBSD: patch-ab,v 1.4 2016/11/14 14:30:17 fhajny Exp $
 
-Add DESTDIR support.
---- src/Makefile.orig  2015-04-01 14:01:44.000000000 +0000
+Add DESTDIR support. Fix NetBSD support.
+
+--- src/Makefile.orig  2016-10-26 07:17:45.000000000 +0000
 +++ src/Makefile
 @@ -23,8 +23,8 @@ WARN=-Wall -W
  OPT=$(OPTIMIZATION)
@@ -14,3 +15,22 @@
  
  # Default allocator
  ifeq ($(uname_S),Linux)
+@@ -77,6 +77,10 @@ ifeq ($(uname_S),OpenBSD)
+       # OpenBSD
+       FINAL_LIBS+= -lpthread
+ else
++ifeq ($(uname_S),NetBSD)
++      # NetBSD
++      FINAL_LIBS+= -lpthread
++else
+ ifeq ($(uname_S),FreeBSD)
+       # FreeBSD
+       FINAL_LIBS+= -lpthread
+@@ -87,6 +91,7 @@ else
+ endif
+ endif
+ endif
++endif
+ endif
+ endif
+ # Include paths to dependencies



Home | Main Index | Thread Index | Old Index