summaryrefslogtreecommitdiff
path: root/editors/codeblocks
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-05-03 08:38:38 +0000
committerjperkin <jperkin@pkgsrc.org>2017-05-03 08:38:38 +0000
commit5b99812dcc356c047deb6541432c2003597d6d78 (patch)
tree34b2442bcf322c038d08c6a15224a11fa82a1de2 /editors/codeblocks
parent3976212695feabbd27bb2ec036df7e0bddfd4c70 (diff)
downloadpkgsrc-5b99812dcc356c047deb6541432c2003597d6d78.tar.gz
Convert CXXFLAGS setting C++ standard to USE_LANGUAGES.
Diffstat (limited to 'editors/codeblocks')
-rw-r--r--editors/codeblocks/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/editors/codeblocks/Makefile b/editors/codeblocks/Makefile
index d303e8cde68..7a99725c6d0 100644
--- a/editors/codeblocks/Makefile
+++ b/editors/codeblocks/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2017/02/12 06:25:14 ryoon Exp $
+# $NetBSD: Makefile,v 1.6 2017/05/03 08:38:41 jperkin Exp $
#
DISTNAME= codeblocks_16.01
@@ -16,7 +16,7 @@ WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}.release
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
CONFIGURE_ARGS+= --with-contrib-plugins=AutoVersioning,BrowseTracker,byogames,cbkoders,codesnippets,codestat,dragscroll,envvars,help,keybinder,libfinder,profiler,regex,exporter,symtab
# wxsmith makes error in build process
@@ -25,11 +25,6 @@ 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"