pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/codeblocks clang objects to the nullptr emulat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d2ec5a1b6de
branches:  trunk
changeset: 348890:1d2ec5a1b6de
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jun 19 23:01:01 2016 +0000

description:
clang objects to the nullptr emulation, so just real C++11 for it.

diffstat:

 editors/codeblocks/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 9734a9f0a41c -r 1d2ec5a1b6de editors/codeblocks/Makefile
--- a/editors/codeblocks/Makefile       Sun Jun 19 23:00:30 2016 +0000
+++ b/editors/codeblocks/Makefile       Sun Jun 19 23:01:01 2016 +0000
@@ -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 @@
 
 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