summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-09-25 20:23:15 +0000
committerkamil <kamil@pkgsrc.org>2016-09-25 20:23:15 +0000
commit814b9fd7bd4b0ce348cb37049032e3f9d981e84b (patch)
treeac049a3d4a9de88fb2d9251b7910a6525f5ab5db /audio
parent2ef78169eb8459ac56c533c66d0e9888242d99a2 (diff)
downloadpkgsrc-814b9fd7bd4b0ce348cb37049032e3f9d981e84b.tar.gz
bmpx requires C++11 unconditionally, not just for Clang
While there add GCC_REQD+=4.8 as it was the first branch to support major subset of C++11. Build tested with GCC-5.4.0 on NetBSD.
Diffstat (limited to 'audio')
-rw-r--r--audio/bmpx/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/audio/bmpx/Makefile b/audio/bmpx/Makefile
index 0a303786edd..28e7df921ec 100644
--- a/audio/bmpx/Makefile
+++ b/audio/bmpx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2016/08/03 10:22:27 adam Exp $
+# $NetBSD: Makefile,v 1.80 2016/09/25 20:23:15 kamil Exp $
DISTNAME= bmpx-0.40.14
PKGREVISION= 53
@@ -22,10 +22,8 @@ CHECK_WRKREF_SKIP= bin/beep-media-player-2
CHECK_WRKREF_SKIP+= bin/bmp2
CHECK_WRKREF_SKIP+= libexec/beep-media-player-2-bin
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
+GCC_REQD+= 4.8
CXXFLAGS+= -std=c++11
-.endif
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "Linux"