summaryrefslogtreecommitdiff
path: root/sysutils/estd
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2017-10-25 21:32:35 +0000
committerkhorben <khorben@pkgsrc.org>2017-10-25 21:32:35 +0000
commit6af77ce36a43c557b81161a2841cd002f3bac95d (patch)
treeed6fdc90a0ca845e388c01b6cb212680f068bebb /sysutils/estd
parent459aca95343a405ca8af90842678cce0988b3a68 (diff)
downloadpkgsrc-6af77ce36a43c557b81161a2841cd002f3bac95d.tar.gz
Add support for LDFLAGS
This notably fixes building with RELRO enabled.
Diffstat (limited to 'sysutils/estd')
-rw-r--r--sysutils/estd/Makefile7
-rw-r--r--sysutils/estd/distinfo4
-rw-r--r--sysutils/estd/patches/patch-aa15
3 files changed, 18 insertions, 8 deletions
diff --git a/sysutils/estd/Makefile b/sysutils/estd/Makefile
index 4f47bf6fd9a..d5063baefad 100644
--- a/sysutils/estd/Makefile
+++ b/sysutils/estd/Makefile
@@ -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
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 \
diff --git a/sysutils/estd/distinfo b/sysutils/estd/distinfo
index 2a7106dbf30..ff1eba67cd8 100644
--- a/sysutils/estd/distinfo
+++ b/sysutils/estd/distinfo
@@ -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
diff --git a/sysutils/estd/patches/patch-aa b/sysutils/estd/patches/patch-aa
index 8c20228dad2..1d85ae63806 100644
--- a/sysutils/estd/patches/patch-aa
+++ b/sysutils/estd/patches/patch-aa
@@ -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