pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/mbuffer mbuffer: Ensure LDFLAGS are used when lin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a642ee503939
branches:  trunk
changeset: 385859:a642ee503939
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Oct 01 09:29:00 2018 +0000

description:
mbuffer: Ensure LDFLAGS are used when linking.

diffstat:

 misc/mbuffer/distinfo                  |   4 ++--
 misc/mbuffer/patches/patch-Makefile.in |  12 +++++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 8b70d5a73e12 -r a642ee503939 misc/mbuffer/distinfo
--- a/misc/mbuffer/distinfo     Mon Oct 01 09:21:32 2018 +0000
+++ b/misc/mbuffer/distinfo     Mon Oct 01 09:29:00 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.5 2018/09/18 09:49:29 fhajny Exp $
+$NetBSD: distinfo,v 1.6 2018/10/01 09:29:00 jperkin Exp $
 
 SHA1 (mbuffer-20180625.tgz) = d3beb0aa92de4095bdbb819a6f0a977507155c96
 RMD160 (mbuffer-20180625.tgz) = d3fb1e03c40719e72af852692cfcce5db0992b0c
 SHA512 (mbuffer-20180625.tgz) = 01d712f51ac0b206d6ee91fbbd4cea4873784aaca02daa9b3d72cfcc0a63696b20c15ca4b6e834924f02f2878ac90192110df584c55fb1a65620ae8b0f7ec87e
 Size (mbuffer-20180625.tgz) = 140946 bytes
-SHA1 (patch-Makefile.in) = 5b1285fd94aad7c9eaf803527a514cd7385cc448
+SHA1 (patch-Makefile.in) = 0aea9d6e1bc836f671846bf29d006c56f14d3514
 SHA1 (patch-configure) = e3f9fe62c308369f89511dc31f781a92fd7b4405
 SHA1 (patch-mbuffer.c) = ca1b0fee1a11529f787b2a2b0d6ee03ed9fcfd14
 SHA1 (patch-mbuffer.rc) = f6639110e0a30f62a8a61e725a5403c88703d671
diff -r 8b70d5a73e12 -r a642ee503939 misc/mbuffer/patches/patch-Makefile.in
--- a/misc/mbuffer/patches/patch-Makefile.in    Mon Oct 01 09:21:32 2018 +0000
+++ b/misc/mbuffer/patches/patch-Makefile.in    Mon Oct 01 09:29:00 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-Makefile.in,v 1.2 2018/09/18 09:49:29 fhajny Exp $
+$NetBSD: patch-Makefile.in,v 1.3 2018/10/01 09:29:00 jperkin Exp $
 
 Fix install permissions.
 Pass sysconfdir.
@@ -33,3 +33,13 @@
  
  lint:
        lint $(DEFS) $(SOURCES)
+@@ -157,7 +157,7 @@ test7: mbuffer
+       ./mbuffer -P90 --md5 -i INSTALL -o /dev/null
+ 
+ tapetest.so: tapetest.c config.h
+-      $(CC) $(CFLAGS) -shared -fPIC tapetest.c -o $@ $(LIBS)
++      $(CC) $(LDFLAGS) $(CFLAGS) -shared -fPIC tapetest.c -o $@ $(LIBS)
+ 
+ idev.so: idev.c config.h
+-      $(CC) $(CFLAGS) -shared -g -fPIC idev.c -o $@ $(LIBS)
++      $(CC) $(LDFLAGS) $(CFLAGS) -shared -g -fPIC idev.c -o $@ $(LIBS)



Home | Main Index | Thread Index | Old Index