summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/codeblocks/Makefile7
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"