summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorwiz <wiz>2017-07-07 11:19:44 +0000
committerwiz <wiz>2017-07-07 11:19:44 +0000
commitd310d44347a7e84424b75baf6f3dd4b8e659800b (patch)
treeebf6fb0a75d5cb0e4e961c45798141aeb826da1d /databases
parent5af6686779b3902766798264403323e056228105 (diff)
downloadpkgsrc-d310d44347a7e84424b75baf6f3dd4b8e659800b.tar.gz
Honor LDFLAGS. Fixes RELRO build.
Diffstat (limited to 'databases')
-rw-r--r--databases/hiredis/distinfo4
-rw-r--r--databases/hiredis/patches/patch-Makefile5
2 files changed, 5 insertions, 4 deletions
diff --git a/databases/hiredis/distinfo b/databases/hiredis/distinfo
index 219a40fb563..7f0d13a633a 100644
--- a/databases/hiredis/distinfo
+++ b/databases/hiredis/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2015/11/29 18:35:37 wiedi Exp $
+$NetBSD: distinfo,v 1.6 2017/07/07 11:21:12 wiz Exp $
SHA1 (hiredis-0.13.3.tar.gz) = be6f1c50fc4d649dd2924f0afecc0a1705dbe0d3
RMD160 (hiredis-0.13.3.tar.gz) = 0183a5bfffa09fa51bc89667081d89c619b85037
SHA512 (hiredis-0.13.3.tar.gz) = 0d8b71d5ee4105e8aaeeee308795afc2c1f60a04b0bfe8ae873d800a0c157882ec307efa04a8d0e63b538fd3fc3f88eedf4d46cb87c8937e2403927aeb7e434c
Size (hiredis-0.13.3.tar.gz) = 58291 bytes
-SHA1 (patch-Makefile) = f0c189ce10ed32d9a31a30b2067a03460e852fd1
+SHA1 (patch-Makefile) = 28334ea2818f494061c4d663c213a01e793d7126
diff --git a/databases/hiredis/patches/patch-Makefile b/databases/hiredis/patches/patch-Makefile
index e0926b6c41d..268d7173ab6 100644
--- a/databases/hiredis/patches/patch-Makefile
+++ b/databases/hiredis/patches/patch-Makefile
@@ -1,4 +1,5 @@
-$NetBSD: patch-Makefile,v 1.3 2015/09/02 15:12:37 wiedi Exp $
+$NetBSD: patch-Makefile,v 1.4 2017/07/07 11:21:12 wiz Exp $
+
use libtool
--- Makefile.orig 2015-08-25 12:16:20.000000000 +0000
@@ -25,7 +26,7 @@ use libtool
$(STLIB_MAKE_CMD) $(OBJ)
+$(LANAME): $(OBJ)
-+ $(LIBTOOL) --mode=link $(CC) -o $(LANAME) $(OBJ:.o=.lo) \
++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(LANAME) $(OBJ:.o=.lo) \
+ -rpath $(PREFIX)/lib \
+ -version-number $(HIREDIS_MAJOR):$(HIREDIS_MINOR)
+