diff options
author | joerg <joerg@pkgsrc.org> | 2013-02-26 10:22:06 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-02-26 10:22:06 +0000 |
commit | f4b6b13c7f722384c0cddccf501ab0a7fd51c57b (patch) | |
tree | c5887279ddc081dd8805115cd91dc723ed807afd | |
parent | 793b3bdab1d1f2e9f629d41892e80ad9a00a5b25 (diff) | |
download | pkgsrc-f4b6b13c7f722384c0cddccf501ab0a7fd51c57b.tar.gz |
Explicitly request C++11 when building with clang.
-rw-r--r-- | audio/bmpx/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/bmpx/Makefile b/audio/bmpx/Makefile index 3c8620d88dc..d099a6015e1 100644 --- a/audio/bmpx/Makefile +++ b/audio/bmpx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 2013/02/16 11:20:06 wiz Exp $ +# $NetBSD: Makefile,v 1.53 2013/02/26 10:22:06 joerg Exp $ DISTNAME= bmpx-0.40.14 PKGREVISION= 29 @@ -22,6 +22,11 @@ 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) +CXXFLAGS+= -std=c++11 +.endif + .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../audio/cdparanoia/buildlink3.mk" .include "../../audio/libofa/buildlink3.mk" |