pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/buffer pick up CFLAGS and LDFLAGS for SSP, RELRO ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/22a1db5fdac6
branches: trunk
changeset: 372598:22a1db5fdac6
user: spz <spz%pkgsrc.org@localhost>
date: Sun Dec 10 22:51:05 2017 +0000
description:
pick up CFLAGS and LDFLAGS for SSP, RELRO and friends
diffstat:
misc/buffer/Makefile | 3 ++-
misc/buffer/distinfo | 4 ++--
misc/buffer/patches/patch-aa | 14 +++++++-------
3 files changed, 11 insertions(+), 10 deletions(-)
diffs (66 lines):
diff -r bb1a5f105bb9 -r 22a1db5fdac6 misc/buffer/Makefile
--- a/misc/buffer/Makefile Sun Dec 10 21:04:32 2017 +0000
+++ b/misc/buffer/Makefile Sun Dec 10 22:51:05 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2016/02/25 15:35:30 jperkin Exp $
+# $NetBSD: Makefile,v 1.21 2017/12/10 22:51:05 spz Exp $
DISTNAME= buffer-1.17
+PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= #
diff -r bb1a5f105bb9 -r 22a1db5fdac6 misc/buffer/distinfo
--- a/misc/buffer/distinfo Sun Dec 10 21:04:32 2017 +0000
+++ b/misc/buffer/distinfo Sun Dec 10 22:51:05 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2016/03/30 08:45:12 jperkin Exp $
+$NetBSD: distinfo,v 1.11 2017/12/10 22:51:05 spz Exp $
SHA1 (buffer-1.17.tar.gz) = 88201f677485880cd508430015b7ce7d9663b6e7
RMD160 (buffer-1.17.tar.gz) = c7f87873f8f74b900609ef495ebabc8596729fb8
SHA512 (buffer-1.17.tar.gz) = 1252ba6e3b425c06dfe7758927f69906e944315e0c6e3a653d7e7a09693181c393e28caac9aea1a35ae533da48db8ea342d11220cd1c83a066c218edec45c56a
Size (buffer-1.17.tar.gz) = 17131 bytes
-SHA1 (patch-aa) = d5fa70f085f03fc7dcf0ee5d80e245138b6471c9
+SHA1 (patch-aa) = 25ad9e68293adfee2409890307704e4b5ced1764
SHA1 (patch-ab) = c17afef3231afe48476273183c0f1365fa8cd86f
SHA1 (patch-ac) = c899209c54933756f5ce97b083fa43daa69a8ffc
diff -r bb1a5f105bb9 -r 22a1db5fdac6 misc/buffer/patches/patch-aa
--- a/misc/buffer/patches/patch-aa Sun Dec 10 21:04:32 2017 +0000
+++ b/misc/buffer/patches/patch-aa Sun Dec 10 22:51:05 2017 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-aa,v 1.8 2016/03/30 08:45:12 jperkin Exp $
+$NetBSD: patch-aa,v 1.9 2017/12/10 22:51:05 spz Exp $
-Use pkgsrc layout/flags.
+Use pkgsrc layout and flags.
---- Makefile.orig Wed Jul 14 11:59:17 1993
-+++ Makefile Sun Sep 12 12:35:57 1999
+--- Makefile.orig 1994-10-04 16:44:53.000000000 +0000
++++ Makefile
@@ -4,13 +4,13 @@
# You should also add -DSYS5 for Ultrix, AIX, and Solarix.
# Add -DDEF_SHMEM=n if you can only have n bytes of shared memory
# (eg: -DDEF_SHMEM=524288 if you can only have half a meg.)
-CFLAGS=
-+CFLAGS=-O
++#CFLAGS=-O # inherit pkgsrc CFLAGS, don't overwrite them
# Where to install buffer and its manual pages
-INSTBIN=/usr/local/bin
@@ -22,12 +22,12 @@
RM=/bin/rm
ALL=README buffer.man Makefile buffer.c sem.c COPYING
-@@ -18,18 +18,14 @@
+@@ -18,18 +18,14 @@ ALL=README buffer.man Makefile buffer.c
all: buffer
buffer: buffer.o sem.o
- $(CC) -o buffer $(CFLAGS) buffer.o sem.o
-+ $(CC) -o buffer buffer.o sem.o
++ $(CC) $(CFLAGS) $(LDFLAGS) -o buffer buffer.o sem.o
clean:
$(RM) -f *.o core buffer .merrs
Home |
Main Index |
Thread Index |
Old Index