diff options
author | joerg <joerg> | 2013-02-26 11:15:43 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-02-26 11:15:43 +0000 |
commit | d45d5f65c8fc4c9a25cfcbb694c9adeeb758f25c (patch) | |
tree | 08192ba0dd8cf9a627c6f7516593783faad96351 /games/wesnoth/Makefile | |
parent | 00d67db6c654e85564018378a955bee7223d198a (diff) | |
download | pkgsrc-d45d5f65c8fc4c9a25cfcbb694c9adeeb758f25c.tar.gz |
Needs C++11 when buildign with clang.
Diffstat (limited to 'games/wesnoth/Makefile')
-rw-r--r-- | games/wesnoth/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile index c6eb8b38110..f425ab6759e 100644 --- a/games/wesnoth/Makefile +++ b/games/wesnoth/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.88 2013/02/16 11:21:29 wiz Exp $ +# $NetBSD: Makefile,v 1.89 2013/02/26 11:15:43 joerg Exp $ DISTNAME= wesnoth-1.10.5 PKGREVISION= 2 @@ -57,6 +57,11 @@ 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" |