pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/rhash Honor pkgsrc CFLAGS and LDFLAGS. Fixes RELR...
details: https://anonhg.NetBSD.org/pkgsrc/rev/74c87615f91f
branches: trunk
changeset: 364871:74c87615f91f
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Jul 06 13:04:28 2017 +0000
description:
Honor pkgsrc CFLAGS and LDFLAGS. Fixes RELRO build.
diffstat:
misc/rhash/distinfo | 3 ++-
misc/rhash/patches/patch-Makefile | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 1f4204e73781 -r 74c87615f91f misc/rhash/distinfo
--- a/misc/rhash/distinfo Thu Jul 06 11:31:16 2017 +0000
+++ b/misc/rhash/distinfo Thu Jul 06 13:04:28 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2017/04/13 09:40:36 jperkin Exp $
+$NetBSD: distinfo,v 1.7 2017/07/06 13:04:28 wiz Exp $
SHA1 (rhash-1.3.4.tar.gz) = fc4610084b8b5a8d20ef0b788381709921ada8bb
RMD160 (rhash-1.3.4.tar.gz) = 00225455818941f6e59b398854f128687465448b
SHA512 (rhash-1.3.4.tar.gz) = 1d6af41f98588005ad2dcabdf479a30f7e4e6b59d56b322702827470e6eaa9a6905e9c1424f778b90488f04e719aa3b2985b92820b7da40ae30f2968339990c0
Size (rhash-1.3.4.tar.gz) = 309181 bytes
+SHA1 (patch-Makefile) = 04a890dcfae086b2984f294833eca300ce6b8128
SHA1 (patch-librhash_byte__order.h) = 04b5b1f75ec2e20e301f9cf1a055df1b260a8912
diff -r 1f4204e73781 -r 74c87615f91f misc/rhash/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/rhash/patches/patch-Makefile Thu Jul 06 13:04:28 2017 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile,v 1.1 2017/07/06 13:04:28 wiz Exp $
+
+Use pkgsrc CFLAGS and LDFLAGS.
+
+--- Makefile.orig 2016-11-06 20:12:16.000000000 +0000
++++ Makefile 2017-07-06 13:01:57.925655166 +0000
+@@ -8,8 +8,8 @@
+ # using OPTFLAGS/OPTLDFLAGS for compatibilty with old scripts using this makefile
+ OPTFLAGS = -O2 -DNDEBUG -fomit-frame-pointer -ffunction-sections -fdata-sections
+ OPTLDFLAGS =
+-CFLAGS = $(OPTFLAGS)
+-LDFLAGS = $(OPTLDFLAGS)
++CFLAGS += $(OPTFLAGS)
++LDFLAGS += $(OPTLDFLAGS)
+ ADDCFLAGS =
+ ADDLDFLAGS =
+ ALLCFLAGS = -pipe $(CFLAGS) $(ADDCFLAGS) \
Home |
Main Index |
Thread Index |
Old Index