pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Honor CFLAGS and LDFLAGS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0bd3756cb372
branches:  trunk
changeset: 456753:0bd3756cb372
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Aug 07 12:57:19 2021 +0000

description:
Honor CFLAGS and LDFLAGS.

diffstat:

 mail/greetdelay/distinfo               |   3 ++-
 mail/greetdelay/patches/patch-Makefile |  15 +++++++++++++++
 sysutils/daemond/distinfo              |   4 ++--
 sysutils/daemond/patches/patch-aa      |  13 ++++++++-----
 4 files changed, 27 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r a77b5c732ed4 -r 0bd3756cb372 mail/greetdelay/distinfo
--- a/mail/greetdelay/distinfo  Sat Aug 07 12:20:38 2021 +0000
+++ b/mail/greetdelay/distinfo  Sat Aug 07 12:57:19 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 23:27:06 agc Exp $
+$NetBSD: distinfo,v 1.5 2021/08/07 12:57:19 schmonz Exp $
 
 SHA1 (greetdelay-0.03.tar.gz) = c97a452acdd8cf3cf285f99baab829d89d3836f6
 RMD160 (greetdelay-0.03.tar.gz) = 203e5130689346e94f5038bae008cd3494c4a8a7
 SHA512 (greetdelay-0.03.tar.gz) = e82a8c53d818b7a91ff2d6b56061eae077aaf758464d86beeff36bd46950fc8642d185dd1c000d02ac15405795553e137999c83da3f5c4a22fd31adcbee68af9
 Size (greetdelay-0.03.tar.gz) = 1370 bytes
+SHA1 (patch-Makefile) = c8072544020d0309539ce427a600962e7221c3c4
diff -r a77b5c732ed4 -r 0bd3756cb372 mail/greetdelay/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/greetdelay/patches/patch-Makefile    Sat Aug 07 12:57:19 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2021/08/07 12:57:20 schmonz Exp $
+
+Honor CFLAGS and LDFLAGS.
+
+--- Makefile.orig      2007-01-30 19:25:05.000000000 +0000
++++ Makefile
+@@ -1,7 +1,7 @@
+ default: greetdelay greetdelay.0
+ 
+ greetdelay: greetdelay.c Makefile
+-      gcc -O2 -o greetdelay greetdelay.c
++      gcc ${CFLAGS} ${LDFLAGS} -o greetdelay greetdelay.c
+ 
+ greetdelay.0: greetdelay.1 Makefile
+       nroff -man greetdelay.1 > greetdelay.0
diff -r a77b5c732ed4 -r 0bd3756cb372 sysutils/daemond/distinfo
--- a/sysutils/daemond/distinfo Sat Aug 07 12:20:38 2021 +0000
+++ b/sysutils/daemond/distinfo Sat Aug 07 12:57:19 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2017/05/09 10:53:27 schmonz Exp $
+$NetBSD: distinfo,v 1.5 2021/08/07 13:08:28 schmonz Exp $
 
 SHA1 (daemond-1.0.tar.gz) = 8262aad555e4869c22edcffcd1232525fef88eb4
 RMD160 (daemond-1.0.tar.gz) = 847d0d780910e332474e74bd24e246171401a5ea
 SHA512 (daemond-1.0.tar.gz) = 4926c80b68890a3471c784eec86c47a4f200aea9fe3a201a5f2115238979b483b3430f74b6d1d29166939a0607b3bdb990650698096e724239008992b489468b
 Size (daemond-1.0.tar.gz) = 1628 bytes
-SHA1 (patch-aa) = 81c4c2c7ef60edab592fb3945d80001338fa74ff
+SHA1 (patch-aa) = cf3eaf396fe0b1793baadcc3af0d151b0e445a1a
diff -r a77b5c732ed4 -r 0bd3756cb372 sysutils/daemond/patches/patch-aa
--- a/sysutils/daemond/patches/patch-aa Sat Aug 07 12:20:38 2021 +0000
+++ b/sysutils/daemond/patches/patch-aa Sat Aug 07 12:57:19 2021 +0000
@@ -1,16 +1,19 @@
-$NetBSD: patch-aa,v 1.2 2017/05/09 10:53:27 schmonz Exp $
+$NetBSD: patch-aa,v 1.3 2021/08/07 13:08:28 schmonz Exp $
 
-Fix installation. Honour PKGMANDIR.
+Fix installation. Honour PKGMANDIR, CFLAGS, LDFLAGS.
 
---- Makefile.orig      2009-03-26 19:50:47.000000000 +0100
+--- Makefile.orig      2009-03-07 03:29:42.000000000 +0000
 +++ Makefile
-@@ -1,5 +1,3 @@
+@@ -1,15 +1,13 @@
 -DESTDIR=/usr/pkg
 -
  all: daemond
  
  daemond: daemond.c
-@@ -9,7 +7,7 @@ daemond.0: daemond.8
+-      $(CC) -o $* $?
++      $(CC) $(CFLAGS) $(LDFLAGS) -o $* $?
+ 
+ daemond.0: daemond.8
        nroff -man $? >$* || rm -f $*
  
  install: all



Home | Main Index | Thread Index | Old Index