pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/wmsmixer Add support for CFLAGS and LDFLAGS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f4f27fc6b95b
branches:  trunk
changeset: 370855:f4f27fc6b95b
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Wed Oct 25 21:17:13 2017 +0000

description:
Add support for CFLAGS and LDFLAGS

This notably fixes building with RELRO enabled.

Bump PKGREVISION, since this generates a different binary now that SSP and
FORTIFY are enabled.

diffstat:

 audio/wmsmixer/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r cb1fbe7879b0 -r f4f27fc6b95b audio/wmsmixer/Makefile
--- a/audio/wmsmixer/Makefile   Wed Oct 25 20:46:21 2017 +0000
+++ b/audio/wmsmixer/Makefile   Wed Oct 25 21:17:13 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2017/09/06 10:40:25 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2017/10/25 21:17:13 khorben Exp $
 #
 
 DISTNAME=      wmsmixer-0.5.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    audio
 MASTER_SITES=  http://www.hibernaculum.net/download/
 
@@ -17,6 +17,10 @@
 USE_LANGUAGES= c++
 NO_INSTALL_MANPAGES= YES
 
+MAKE_FLAGS+=   CCOPTIONS=${CFLAGS:Q}
+MAKE_FLAGS+=   CXXOPTIONS=${CFLAGS:Q}
+MAKE_FLAGS+=   LOCAL_LDFLAGS=${LDFLAGS:Q}
+
 INSTALLATION_DIRS+= share/doc/wmsmixer share/examples/wmsmixer
 
 pre-build:



Home | Main Index | Thread Index | Old Index