diff options
author | joerg <joerg@pkgsrc.org> | 2016-06-19 23:01:01 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2016-06-19 23:01:01 +0000 |
commit | 306d7230d89a9d9484a7013c70720aaada13c0cf (patch) | |
tree | 4ca11ddec4495698ab0eea28df7a60819c3116ac /editors | |
parent | 9c49e9b5100c0af5485753876c3a6b9005fdb753 (diff) | |
download | pkgsrc-306d7230d89a9d9484a7013c70720aaada13c0cf.tar.gz |
clang objects to the nullptr emulation, so just real C++11 for it.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/codeblocks/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/codeblocks/Makefile b/editors/codeblocks/Makefile index b32283175a3..19dcfe0d41a 100644 --- a/editors/codeblocks/Makefile +++ b/editors/codeblocks/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2016/06/16 02:28:51 kamil Exp $ +# $NetBSD: Makefile,v 1.2 2016/06/19 23:01:01 joerg Exp $ # DISTNAME= codeblocks_16.01 @@ -24,6 +24,11 @@ BUILD_DEPENDS+= zip-[0-9]*:../../archivers/zip PKGCONFIG_OVERRIDE+= codeblocks.pc.in +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CXXFLAGS+= -std=c++11 +.endif + .include "../../databases/shared-mime-info/mimedb.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" |