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 /games/wesnoth | |
parent | 3976212695feabbd27bb2ec036df7e0bddfd4c70 (diff) | |
download | pkgsrc-5b99812dcc356c047deb6541432c2003597d6d78.tar.gz |
Convert CXXFLAGS setting C++ standard to USE_LANGUAGES.
Diffstat (limited to 'games/wesnoth')
-rw-r--r-- | games/wesnoth/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile index e119ff5b4d9..f7a034e4017 100644 --- a/games/wesnoth/Makefile +++ b/games/wesnoth/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.126 2017/04/30 01:21:41 ryoon Exp $ +# $NetBSD: Makefile,v 1.127 2017/05/03 08:38:42 jperkin Exp $ DISTNAME= wesnoth-1.12.6 PKGREVISION= 6 @@ -15,7 +15,7 @@ BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt USE_CMAKE= yes USE_LIBTOOL= yes -USE_LANGUAGES= c c++ +USE_LANGUAGES= c c++11 USE_TOOLS+= pkg-config USE_TOOLS+= perl:run msgfmt USE_TOOLS+= bash @@ -63,11 +63,6 @@ BUILDLINK_TRANSFORM+= rm:-Werror USE_TOOLS+= gmake .endif -.include "../../mk/compiler.mk" -.if !empty(PKGSRC_COMPILER:Mclang) -CXXFLAGS+= -std=c++11 -.endif - PLIST_VARS+= icons .if ${OPSYS} != "Darwin" && ${OPSYS} != "Cygwin" |