pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ldapsdk devel/ldapsdk: respect passed LDFLAGS on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21b13d101a3c
branches:  trunk
changeset: 385445:21b13d101a3c
user:      he <he%pkgsrc.org@localhost>
date:      Sat Sep 17 17:17:44 2022 +0000

description:
devel/ldapsdk: respect passed LDFLAGS on NetBSD.

This fixes
=> Checking for RELRO in ldapsdk-12311998nb11
ERROR: lib/liblber.so.1.0: missing RELRO
ERROR: lib/libldap.so.1.0: missing RELRO

diffstat:

 devel/ldapsdk/distinfo                       |   3 ++-
 devel/ldapsdk/patches/patch-config_NetBSD.mk |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 6f3913c51b7f -r 21b13d101a3c devel/ldapsdk/distinfo
--- a/devel/ldapsdk/distinfo    Sat Sep 17 16:13:10 2022 +0000
+++ b/devel/ldapsdk/distinfo    Sat Sep 17 17:17:44 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2022/05/15 02:19:36 dholland Exp $
+$NetBSD: distinfo,v 1.12 2022/09/17 17:17:44 he Exp $
 
 BLAKE2s (ldapsdk_12311998.tar.gz) = eb99121e1a286a42be4f46cc1d818aebc38156e5b9be0caad45773ec979291cb
 SHA512 (ldapsdk_12311998.tar.gz) = 0e6a1fc33d4d70bba2a376336a0cf93fe7aa1e2147256ba6bc5de323c62139824ac0df66b2ebef6edcda457ba6437ca251112370c9e154bc09960c40429416b4
@@ -10,5 +10,6 @@
 SHA1 (patch-ae) = fe40aa1668206bd63861844fc34574c749aa22f0
 SHA1 (patch-af) = 20869b8cbc7becee026adece14b9b9a250531d8a
 SHA1 (patch-config-bsdecho.c) = a5f916c44c55a812793c25760771bff5a1400ed0
+SHA1 (patch-config_NetBSD.mk) = b32a56257eae24b2760bce6185da2ec839e30798
 SHA1 (patch-config_darwin.mk) = d713cd4d018825a1ad8c7631e25f3a070de3f9c2
 SHA1 (patch-config_rules_mk) = 6ddd1ee99f4058eeddd3f34f6921c1573abcd125
diff -r 6f3913c51b7f -r 21b13d101a3c devel/ldapsdk/patches/patch-config_NetBSD.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ldapsdk/patches/patch-config_NetBSD.mk      Sat Sep 17 17:17:44 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-config_NetBSD.mk,v 1.1 2022/09/17 17:17:44 he Exp $
+
+--- config/NetBSD.mk.orig      1998-12-31 11:28:24.000000000 +0000
++++ config/NetBSD.mk
+@@ -89,10 +89,10 @@ endif
+ 
+ BUILD_UNIX_PLUGINS    = 1
+ 
+-MKSHLIB                       = $(LD) $(DSO_LDOPTS)
++MKSHLIB                       = $(LD) $(DSO_LDOPTS) $(LDFLAGS)
+ 
+ DSO_CFLAGS            = -fPIC
+-DSO_LDFLAGS           = 
++DSO_LDFLAGS           = $(LDFLAGS)
+ 
+ #
+ # For NetBSD > 1.3, this can all be -shared.



Home | Main Index | Thread Index | Old Index