diff options
author | joerg <joerg@pkgsrc.org> | 2013-03-03 04:54:25 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-03-03 04:54:25 +0000 |
commit | 937e905201d693bbbf5b80f0c8105f24f0bdc7b9 (patch) | |
tree | a3dc2cef6085aecc1649a5b2636ea873f07e5ec7 /databases/mysql-workbench/Makefile | |
parent | dccf8005bd1280d42925b2c3a0c5de29979754a5 (diff) | |
download | pkgsrc-937e905201d693bbbf5b80f0c8105f24f0bdc7b9.tar.gz |
mysql-workbench requires C++11 to build with Clang and in turn, should
be free of user-defined string literal syntax.
Diffstat (limited to 'databases/mysql-workbench/Makefile')
-rw-r--r-- | databases/mysql-workbench/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/mysql-workbench/Makefile b/databases/mysql-workbench/Makefile index e009060301e..8c90f044b0f 100644 --- a/databases/mysql-workbench/Makefile +++ b/databases/mysql-workbench/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2013/03/02 20:33:23 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2013/03/03 04:54:25 joerg Exp $ DISTNAME= mysql-workbench-gpl-5.2.33b-src PKGNAME= ${DISTNAME:S/-gpl//:S/b-src$//} @@ -50,6 +50,11 @@ SUBST_SED.osx-gl= -e 's,-lGL,-framework OpenGL,g' .include "../../graphics/MesaLib/buildlink3.mk" .endif +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CXXFLAGS+= -std=c++11 +.endif + .include "../../archivers/libzip/buildlink3.mk" .include "../../databases/sqlite3/buildlink3.mk" .include "../../devel/boost-headers/buildlink3.mk" |