pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/nagios-plugin-syncrepl net/nagios-plugin-syncrepl:...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad8cceb902e1
branches:  trunk
changeset: 379750:ad8cceb902e1
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun May 22 22:50:42 2022 +0000

description:
net/nagios-plugin-syncrepl: honor CFLAGS and LDFLAGS

May be sufficient to fix the Solaris build as suggested in PR 52050.

diffstat:

 net/nagios-plugin-syncrepl/distinfo               |   3 ++-
 net/nagios-plugin-syncrepl/patches/patch-Makefile |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 28889c929ab2 -r ad8cceb902e1 net/nagios-plugin-syncrepl/distinfo
--- a/net/nagios-plugin-syncrepl/distinfo       Sun May 22 22:47:53 2022 +0000
+++ b/net/nagios-plugin-syncrepl/distinfo       Sun May 22 22:50:42 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 11:06:04 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/05/22 22:50:42 dholland Exp $
 
 BLAKE2s (check_syncrepl-0.5.tgz) = 1f29f8d61f548de30b44a372fce4f92ed5e1795794e668a8b91b3d61ee940a61
 SHA512 (check_syncrepl-0.5.tgz) = c2c108c4d7997401859ff5131bcfd926bdc36681a3bf3371b32538b6e9be4e90eba0681e94c908cbcd150c3949a056f478f855c8ee27681355335628679a7824
 Size (check_syncrepl-0.5.tgz) = 2412 bytes
+SHA1 (patch-Makefile) = a1680781768fd082662f389a71ef2bded04b87b6
diff -r 28889c929ab2 -r ad8cceb902e1 net/nagios-plugin-syncrepl/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nagios-plugin-syncrepl/patches/patch-Makefile Sun May 22 22:50:42 2022 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-Makefile,v 1.1 2022/05/22 22:50:42 dholland Exp $
+
+Honor pkgsrc CFLAGS, LDFLAGS, and LIBS.
+
+--- Makefile~  2018-05-20 02:35:50.000000000 +0000
++++ Makefile
+@@ -1,9 +1,9 @@
+-CFLAGS=       -DLDAP_DEPRECATED
+-LIBS= -lldap
++CFLAGS+=      -DLDAP_DEPRECATED
++LIBS+=        -lldap
+ all:  check_syncrepl
+ 
+ check_syncrepl:       check_syncrepl.o
+-      $(CC) ${LIBS} -o check_syncrepl check_syncrepl.o
++      $(CC) ${LDFLAGS} ${LIBS} -o check_syncrepl check_syncrepl.o
+ 
+ clean:
+       rm -f *.o *.core check_syncrepl



Home | Main Index | Thread Index | Old Index