diff options
author | khorben <khorben@pkgsrc.org> | 2017-10-25 21:17:13 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2017-10-25 21:17:13 +0000 |
commit | d14b4355437c2ea5adef17f34fed786f5005dc04 (patch) | |
tree | f59809b4de8592a14972e545a1e9b8719cc356b3 | |
parent | 1a45fc18091f355095ed36ec3196f860ad05853d (diff) | |
download | pkgsrc-d14b4355437c2ea5adef17f34fed786f5005dc04.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.
-rw-r--r-- | audio/wmsmixer/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/wmsmixer/Makefile b/audio/wmsmixer/Makefile index 21e8e5a06d8..d8f66ec0f1b 100644 --- a/audio/wmsmixer/Makefile +++ b/audio/wmsmixer/Makefile @@ -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_IMAKE= YES 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: |