diff options
author | jperkin <jperkin@pkgsrc.org> | 2017-05-03 08:38:38 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2017-05-03 08:38:38 +0000 |
commit | 5b99812dcc356c047deb6541432c2003597d6d78 (patch) | |
tree | 34b2442bcf322c038d08c6a15224a11fa82a1de2 /misc/rocs | |
parent | 3976212695feabbd27bb2ec036df7e0bddfd4c70 (diff) | |
download | pkgsrc-5b99812dcc356c047deb6541432c2003597d6d78.tar.gz |
Convert CXXFLAGS setting C++ standard to USE_LANGUAGES.
Diffstat (limited to 'misc/rocs')
-rw-r--r-- | misc/rocs/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/misc/rocs/Makefile b/misc/rocs/Makefile index 033fea02826..bc705d8ada6 100644 --- a/misc/rocs/Makefile +++ b/misc/rocs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2017/04/30 01:21:53 ryoon Exp $ +# $NetBSD: Makefile,v 1.45 2017/05/03 08:38:43 jperkin Exp $ DISTNAME= rocs-${_KDE_VERSION} PKGREVISION= 9 @@ -7,12 +7,9 @@ COMMENT= KDE graph theory IDE .include "../../meta-pkgs/kde4/Makefile.kde4" -CMAKE_ARGS+= -DKDE4_BUILD_TESTS:BOOL=OFF +USE_LANGUAGES+= c++11 -.include "../../mk/compiler.mk" -.if !empty(PKGSRC_COMPILER:Mclang) || !empty(PKGSRC_COMPILER:Mgcc) -CXXFLAGS+= -std=c++11 -.endif +CMAKE_ARGS+= -DKDE4_BUILD_TESTS:BOOL=OFF .include "../../meta-pkgs/kde4/kde4.mk" |