diff options
author | fhajny <fhajny@pkgsrc.org> | 2016-11-14 14:30:17 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2016-11-14 14:30:17 +0000 |
commit | f1ab93dda1fafa1ef78312b8151b003ffefe36c2 (patch) | |
tree | 6426f3f793b6670f85adef9ee217b8a20bca9d59 /databases | |
parent | 0964c49b235e1125209f6d6885701b0217711c22 (diff) | |
download | pkgsrc-f1ab93dda1fafa1ef78312b8151b003ffefe36c2.tar.gz |
Fix NetBSD support. Thanks to Mustafa Dogan!
Diffstat (limited to 'databases')
-rw-r--r-- | databases/redis/distinfo | 4 | ||||
-rw-r--r-- | databases/redis/patches/patch-ab | 26 |
2 files changed, 25 insertions, 5 deletions
diff --git a/databases/redis/distinfo b/databases/redis/distinfo index 3f8d0d6a39b..622427b1931 100644 --- a/databases/redis/distinfo +++ b/databases/redis/distinfo @@ -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 --git a/databases/redis/patches/patch-ab b/databases/redis/patches/patch-ab index 2d30006adbf..1ac12bc72b3 100644 --- a/databases/redis/patches/patch-ab +++ b/databases/redis/patches/patch-ab @@ -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 @@ Add DESTDIR support. # 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 |