pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/dnsmasq Add support for LDFLAGS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5288547a2c64
branches:  trunk
changeset: 370784:5288547a2c64
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Tue Oct 24 01:04:19 2017 +0000

description:
Add support for LDFLAGS

This notably fixes building with RELRO enabled.

diffstat:

 net/dnsmasq/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 52d4375856be -r 5288547a2c64 net/dnsmasq/Makefile
--- a/net/dnsmasq/Makefile      Tue Oct 24 00:52:47 2017 +0000
+++ b/net/dnsmasq/Makefile      Tue Oct 24 01:04:19 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2017/10/02 15:50:55 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2017/10/24 01:04:19 khorben Exp $
 
 DISTNAME=      dnsmasq-2.78
 CATEGORIES=    net
@@ -35,6 +35,7 @@
 AUTO_MKDIRS=yes
 CFLAGS+=               -DCONFFILE='"${PKG_SYSCONFDIR}/dnsmasq.conf"'
 MAKE_FLAGS+=           COPTS=${CFLAGS:Q}
+MAKE_FLAGS+=           LDFLAGS=${LDFLAGS:Q}
 INSTALL_MAKE_FLAGS+=   PREFIX="${PREFIX}"
 INSTALL_MAKE_FLAGS+=   MANDIR="${PREFIX}/${PKGMANDIR}"
 INSTALL_MAKE_FLAGS+=   LOCALEDIR="${PREFIX}/${PKGLOCALEDIR}"



Home | Main Index | Thread Index | Old Index