summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2017-10-25 22:04:30 +0000
committerkhorben <khorben@pkgsrc.org>2017-10-25 22:04:30 +0000
commit55951a6f9529d014bbf811e2679d3e7bd95fe5e8 (patch)
treee05be1bde33038e16733439e5c835f88996d29cc /audio
parentfdc2cd0c6e1fd8d89d6a709c43e3d58c3c7bbd10 (diff)
downloadpkgsrc-55951a6f9529d014bbf811e2679d3e7bd95fe5e8.tar.gz
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 (limited to 'audio')
-rw-r--r--audio/wmmixer/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/wmmixer/Makefile b/audio/wmmixer/Makefile
index 8a36a2f8169..3593acb433a 100644
--- a/audio/wmmixer/Makefile
+++ b/audio/wmmixer/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.19 2016/04/20 12:10:33 nros Exp $
+# $NetBSD: Makefile,v 1.20 2017/10/25 22:04:30 khorben Exp $
#
DISTNAME= wmmixer-1.0-beta1
PKGNAME= wmmixer-1.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://www.geocities.com/SiliconValley/Vista/2471/files/
EXTRACT_SUFX= .tgz
@@ -20,6 +20,10 @@ USE_IMAKE= YES
USE_LANGUAGES= c c++
NO_INSTALL_MANPAGES= YES
+MAKE_FLAGS+= CCOPTIONS=${CFLAGS:Q}
+MAKE_FLAGS+= CXXOPTIONS=${CFLAGS:Q}
+MAKE_FLAGS+= LOCAL_LDFLAGS=${LDFLAGS:Q}
+
pre-build:
${TOUCH} ${WRKSRC}/wmmixer.man