pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/estd



Module Name:    pkgsrc
Committed By:   khorben
Date:           Wed Oct 25 21:38:52 UTC 2017

Modified Files:
        pkgsrc/sysutils/estd: Makefile distinfo
        pkgsrc/sysutils/estd/patches: patch-aa

Log Message:
Add support for LDFLAGS

This notably fixes building with RELRO enabled.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/sysutils/estd/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/sysutils/estd/distinfo
cvs rdiff -u -r1.10 -r1.11 pkgsrc/sysutils/estd/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/estd/Makefile
diff -u pkgsrc/sysutils/estd/Makefile:1.29 pkgsrc/sysutils/estd/Makefile:1.30
--- pkgsrc/sysutils/estd/Makefile:1.29  Tue Aug  1 17:40:15 2017
+++ pkgsrc/sysutils/estd/Makefile       Wed Oct 25 21:38:52 2017
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2017/08/01 17:40:15 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2017/10/25 21:38:52 khorben Exp $
 
 DISTNAME=      estd-r11
 PKGNAME=       estd-0.11
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    sysutils
 MASTER_SITES=  http://www.ecademix.com/JohannesHofmann/
 
@@ -11,6 +11,9 @@ MAINTAINER=   pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Dynamically sets the CPU-frequency on SpeedStep and PowerNow CPUs
 LICENSE=       2-clause-bsd
 
+MAKE_FLAGS+=   CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=   LDFLAGS=${LDFLAGS:Q}
+
 INSTALLATION_DIRS=     share/examples/rc.d
 
 ONLY_FOR_PLATFORM=     NetBSD-2.99.*-i386 NetBSD-[3-9]*-i386 \

Index: pkgsrc/sysutils/estd/distinfo
diff -u pkgsrc/sysutils/estd/distinfo:1.22 pkgsrc/sysutils/estd/distinfo:1.23
--- pkgsrc/sysutils/estd/distinfo:1.22  Wed Nov  4 01:32:13 2015
+++ pkgsrc/sysutils/estd/distinfo       Wed Oct 25 21:38:52 2017
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.22 2015/11/04 01:32:13 agc Exp $
+$NetBSD: distinfo,v 1.23 2017/10/25 21:38:52 khorben Exp $
 
 SHA1 (estd-r11.tar.gz) = 6c1148d66ff93b2e45af0411f1234fcccd1a2407
 RMD160 (estd-r11.tar.gz) = 261a6a79e54f2502a50aad79e336259604376f3c
 SHA512 (estd-r11.tar.gz) = 37b005ab451f7a26248064cee5736ca43c6345b419e00050186158d5830fe96035fa78d2651a908899e6c61d44b1aaeb8b3cac0fbde19fb4c82976f709b011dc
 Size (estd-r11.tar.gz) = 9361 bytes
-SHA1 (patch-aa) = d377a38dacee5e93feaf67747d5bf2a7a32c036b
+SHA1 (patch-aa) = 6671d042e8b593b33e8633d657b14acaf3f115eb
 SHA1 (patch-estd.c) = e813e795a18fa16ced0070fe7485dff3f3de61ac

Index: pkgsrc/sysutils/estd/patches/patch-aa
diff -u pkgsrc/sysutils/estd/patches/patch-aa:1.10 pkgsrc/sysutils/estd/patches/patch-aa:1.11
--- pkgsrc/sysutils/estd/patches/patch-aa:1.10  Fri Mar  6 18:08:38 2015
+++ pkgsrc/sysutils/estd/patches/patch-aa       Wed Oct 25 21:38:52 2017
@@ -1,11 +1,18 @@
-$NetBSD: patch-aa,v 1.10 2015/03/06 18:08:38 khorben Exp $
+$NetBSD: patch-aa,v 1.11 2017/10/25 21:38:52 khorben Exp $
 
-Use BSD_INSTALL_* instead of directly invoking install(1), add DESTDIR
-support and install all the files in the proper locations.
+- Use BSD_INSTALL_* instead of directly invoking install(1)
+- Add DESTDIR support and install all the files in the proper locations.
+- Add support for LDFLAGS
 
 --- Makefile.orig      2015-02-18 21:38:03.000000000 +0000
 +++ Makefile
-@@ -19,7 +19,8 @@ estd:        estd.c
+@@ -14,12 +14,13 @@ clean:
+       rm -f *~
+ 
+ estd: estd.c
+-      gcc ${CFLAGS} ${LIBS} -o estd estd.c
++      gcc ${CFLAGS} ${LDFLAGS} ${LIBS} -o estd estd.c
+       
  all: estd
  
  install: all



Home | Main Index | Thread Index | Old Index