pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9dcb36b1ed65
branches:  trunk
changeset: 370860:9dcb36b1ed65
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Wed Oct 25 22:04:30 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/wmmixer/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 359268957a95 -r 9dcb36b1ed65 audio/wmmixer/Makefile
--- a/audio/wmmixer/Makefile    Wed Oct 25 21:59:33 2017 +0000
+++ b/audio/wmmixer/Makefile    Wed Oct 25 22:04:30 2017 +0000
@@ -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_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
 



Home | Main Index | Thread Index | Old Index