pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/editors/codeblocks
Module Name: pkgsrc
Committed By: joerg
Date: Sun Jun 19 23:01:01 UTC 2016
Modified Files:
pkgsrc/editors/codeblocks: Makefile
Log Message:
clang objects to the nullptr emulation, so just real C++11 for it.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/editors/codeblocks/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/editors/codeblocks/Makefile
diff -u pkgsrc/editors/codeblocks/Makefile:1.1 pkgsrc/editors/codeblocks/Makefile:1.2
--- pkgsrc/editors/codeblocks/Makefile:1.1 Thu Jun 16 02:28:51 2016
+++ pkgsrc/editors/codeblocks/Makefile Sun Jun 19 23:01:01 2016
@@ -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]*:../../archive
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"
Home |
Main Index |
Thread Index |
Old Index