summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/ccgo/Makefile8
-rw-r--r--games/pingus/Makefile12
-rw-r--r--games/wesnoth/Makefile9
3 files changed, 7 insertions, 22 deletions
diff --git a/games/ccgo/Makefile b/games/ccgo/Makefile
index b2b7633ad8f..1cbcd2b0430 100644
--- a/games/ccgo/Makefile
+++ b/games/ccgo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2017/02/12 06:25:19 ryoon Exp $
+# $NetBSD: Makefile,v 1.60 2017/05/03 08:38:42 jperkin Exp $
DISTNAME= ccgo-0.3.6.5
PKGREVISION= 2
@@ -12,7 +12,7 @@ LICENSE= gnu-gpl-v3
DEPENDS+= gnugo>=3.4:../../games/gnugo
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
USE_TOOLS+= msgfmt pkg-config
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
@@ -23,10 +23,6 @@ SUBST_FILES.ccgo= game_setup.cc settings.cc
SUBST_MESSAGE.ccgo= Fixing paths to gnugo.
SUBST_SED.ccgo= -e 's|/usr/games/gnugo|${LOCALBASE}/bin/gnugo|g'
-.include "../../mk/bsd.prefs.mk"
-
-CXXFLAGS+= -std=c++11
-
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gconfmm/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
diff --git a/games/pingus/Makefile b/games/pingus/Makefile
index a51c13fcadf..6a7ac81f2ef 100644
--- a/games/pingus/Makefile
+++ b/games/pingus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2017/04/30 01:21:40 ryoon Exp $
+# $NetBSD: Makefile,v 1.24 2017/05/03 08:38:42 jperkin Exp $
DISTNAME= pingus-0.7.3
PKGREVISION= 17
@@ -11,19 +11,13 @@ HOMEPAGE= http://pingus.seul.org/
COMMENT= Lemmings(TM) Clone
BUILD_DEPENDS+= scons>=0.96:../../devel/scons
-USE_LANGUAGES+= c c++
+USE_LANGUAGES= c c++11
MAKE_JOBS?= 1
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-SCONS_CXX= ${CXX} -std=c++11
-.else
-SCONS_CXX= ${CXX}
-.endif
do-configure:
cd ${WRKSRC} && \
- ${PKGSRC_SETENV} ${MAKE_ENV} scons configure CXX=${SCONS_CXX:Q} CPPPATH=${PREFIX}/include LIBPATH=${PREFIX}/lib
+ ${PKGSRC_SETENV} ${MAKE_ENV} scons configure CXX=${CXX:Q} CPPPATH=${PREFIX}/include LIBPATH=${PREFIX}/lib
do-build:
cd ${WRKSRC} && \
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"