pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/nas Add support for LDFLAGS when building audio/nas



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc55b008414f
branches:  trunk
changeset: 371459:cc55b008414f
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Mon Nov 13 12:23:36 2017 +0000

description:
Add support for LDFLAGS when building audio/nas

This helps pass the RELRO check for this package.

diffstat:

 audio/nas/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 6724fd774935 -r cc55b008414f audio/nas/Makefile
--- a/audio/nas/Makefile        Mon Nov 13 11:57:22 2017 +0000
+++ b/audio/nas/Makefile        Mon Nov 13 12:23:36 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.96 2015/08/06 22:23:17 khorben Exp $
+# $NetBSD: Makefile,v 1.97 2017/11/13 12:23:36 khorben Exp $
 
 DISTNAME=      nas-1.9.4.src
 PKGNAME=       ${DISTNAME:S/.src//}
@@ -19,6 +19,8 @@
 USE_IMAKE=             yes
 
 MAKE_FLAGS+=           CDEBUGFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=           EXTRA_LDOPTIONS=${LDFLAGS:Q}
+MAKE_FLAGS+=           SHLIBGLOBALSFLAGS=${LDFLAGS:Q}
 
 PKG_SYSCONFSUBDIR=     nas
 



Home | Main Index | Thread Index | Old Index