pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jul 18 18:13:45 UTC 2023

Modified Files:
        pkgsrc/games/0ad: Makefile
        pkgsrc/games/7kaa: Makefile
        pkgsrc/games/asc: Makefile
        pkgsrc/games/cataclysm-dda: Makefile.common
        pkgsrc/games/corsix-th: Makefile
        pkgsrc/games/devilutionx: Makefile
        pkgsrc/games/dhewm3: Makefile
        pkgsrc/games/exult: Makefile
        pkgsrc/games/gemrb: Makefile
        pkgsrc/games/mightymike: Makefile
        pkgsrc/games/nanosaur: Makefile
        pkgsrc/games/openjk: Makefile
        pkgsrc/games/openmw: Makefile
        pkgsrc/games/openrct2: Makefile
        pkgsrc/games/openttd: Makefile
        pkgsrc/games/ottomatic: Makefile
        pkgsrc/games/powder-toy: Makefile
        pkgsrc/games/solarus: Makefile
        pkgsrc/games/stone-soup: Makefile.common
        pkgsrc/games/taisei: Makefile
        pkgsrc/games/wesnoth: Makefile
        pkgsrc/games/widelands: Makefile
        pkgsrc/games/xonotic: Makefile

Log Message:
games: Adapt packages (where possible) to USE_(CC|CXX)_FEATURES


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/games/0ad/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/games/7kaa/Makefile
cvs rdiff -u -r1.87 -r1.88 pkgsrc/games/asc/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/games/cataclysm-dda/Makefile.common
cvs rdiff -u -r1.16 -r1.17 pkgsrc/games/corsix-th/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/games/devilutionx/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/games/dhewm3/Makefile
cvs rdiff -u -r1.38 -r1.39 pkgsrc/games/exult/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/games/gemrb/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/games/mightymike/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/nanosaur/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/games/openjk/Makefile
cvs rdiff -u -r1.66 -r1.67 pkgsrc/games/openmw/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/games/openrct2/Makefile
cvs rdiff -u -r1.113 -r1.114 pkgsrc/games/openttd/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/ottomatic/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/games/powder-toy/Makefile
cvs rdiff -u -r1.64 -r1.65 pkgsrc/games/solarus/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/games/stone-soup/Makefile.common
cvs rdiff -u -r1.26 -r1.27 pkgsrc/games/taisei/Makefile
cvs rdiff -u -r1.199 -r1.200 pkgsrc/games/wesnoth/Makefile
cvs rdiff -u -r1.32 -r1.33 pkgsrc/games/widelands/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/games/xonotic/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/0ad/Makefile
diff -u pkgsrc/games/0ad/Makefile:1.13 pkgsrc/games/0ad/Makefile:1.14
--- pkgsrc/games/0ad/Makefile:1.13      Tue Jun  6 12:41:24 2023
+++ pkgsrc/games/0ad/Makefile   Tue Jul 18 18:13:42 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2023/06/06 12:41:24 riastradh Exp $
+# $NetBSD: Makefile,v 1.14 2023/07/18 18:13:42 nia Exp $
 
 PKGREVISION= 5
 .include "Makefile.common"
@@ -11,12 +11,12 @@ COMMENT=    Historical real-time strategy g
 LICENSE=       gnu-gpl-v2 AND gnu-lgpl-v2.1
 
 WRKSRC=                ${WRKDIR}/${DISTNAME:S/-unix-build//}
-# Requires C++17 and add "--std" option itself
-GCC_REQD+=     7
-USE_LANGUAGES= c c++17
+USE_LANGUAGES= c c++
 
 USE_TOOLS+=    cmake bash gmake pax perl pkg-config
 
+USE_CXX_FEATURES+=     c++17
+
 DEPENDS+=              0ad-data-${PKGVERSION_NOREV}{,nb*}:../../games/0ad-data
 TOOL_DEPENDS+=         premake5-[0-9]*:../../devel/premake5
 TOOL_DEPENDS+=         patchelf-[0-9]*:../../devel/patchelf

Index: pkgsrc/games/7kaa/Makefile
diff -u pkgsrc/games/7kaa/Makefile:1.29 pkgsrc/games/7kaa/Makefile:1.30
--- pkgsrc/games/7kaa/Makefile:1.29     Sat May  6 19:09:17 2023
+++ pkgsrc/games/7kaa/Makefile  Tue Jul 18 18:13:42 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2023/05/06 19:09:17 ryoon Exp $
+# $NetBSD: Makefile,v 1.30 2023/07/18 18:13:42 nia Exp $
 
 DISTNAME=      7kaa-2.15.4p1
 PKGREVISION=   11
@@ -14,13 +14,12 @@ LICENSE=    gnu-gpl-v2
 
 TOOL_DEPENDS+= icoutils-[0-9]*:../../graphics/icoutils
 
-USE_LANGUAGES+=        c c++11
+USE_LANGUAGES+=        c c++
 GNU_CONFIGURE= yes
 USE_TOOLS+=    msgfmt msgmerge xgettext
 USE_TOOLS+=    pkg-config
 
-# C++11
-GCC_REQD+=     4.6
+USE_CXX_FEATURES+=     c++11
 
 LDFLAGS+=      ${BUILDLINK_LDADD.gettext}
 

Index: pkgsrc/games/asc/Makefile
diff -u pkgsrc/games/asc/Makefile:1.87 pkgsrc/games/asc/Makefile:1.88
--- pkgsrc/games/asc/Makefile:1.87      Mon Jun 26 09:17:45 2023
+++ pkgsrc/games/asc/Makefile   Tue Jul 18 18:13:43 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.87 2023/06/26 09:17:45 jperkin Exp $
+# $NetBSD: Makefile,v 1.88 2023/07/18 18:13:43 nia Exp $
 
 DISTNAME=      asc-2.6.1.0
 PKGREVISION=   20
@@ -29,10 +29,9 @@ USE_LIBTOOL= yes
 
 USE_TOOLS+=    perl pkg-config zip
 USE_TOOLS+=    gmake
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c c++
 
-# C++11
-GCC_REQD+=     4.7
+USE_CXX_FEATURES+=     c++11
 
 CPPFLAGS+=     -D__EXPORT__=
 MAKE_ENV+=     top_builddir=.

Index: pkgsrc/games/cataclysm-dda/Makefile.common
diff -u pkgsrc/games/cataclysm-dda/Makefile.common:1.7 pkgsrc/games/cataclysm-dda/Makefile.common:1.8
--- pkgsrc/games/cataclysm-dda/Makefile.common:1.7      Fri Sep  3 11:38:36 2021
+++ pkgsrc/games/cataclysm-dda/Makefile.common  Tue Jul 18 18:13:43 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2021/09/03 11:38:36 nia Exp $
+# $NetBSD: Makefile.common,v 1.8 2023/07/18 18:13:43 nia Exp $
 # used by games/cataclysm-dda/Makefile
 # used by games/cataclysm-dda-sdl/Makefile
 
@@ -15,8 +15,7 @@ USE_LANGUAGES=        c c++
 USE_TOOLS+=    gmake msgfmt pkg-config
 USE_TOOLS+=    pax
 
-# C++14
-GCC_REQD+=     5
+USE_CXX_FEATURES+=     c++14
 
 DISTINFO_FILE= ${.CURDIR}/../../games/cataclysm-dda/distinfo
 PATCHDIR=      ${.CURDIR}/../../games/cataclysm-dda/patches

Index: pkgsrc/games/corsix-th/Makefile
diff -u pkgsrc/games/corsix-th/Makefile:1.16 pkgsrc/games/corsix-th/Makefile:1.17
--- pkgsrc/games/corsix-th/Makefile:1.16        Sun Jul  9 21:57:41 2023
+++ pkgsrc/games/corsix-th/Makefile     Tue Jul 18 18:13:43 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2023/07/09 21:57:41 nia Exp $
+# $NetBSD: Makefile,v 1.17 2023/07/18 18:13:43 nia Exp $
 
 DISTNAME=      corsix-th-0.65.1
 PKGREVISION=   9
@@ -23,8 +23,7 @@ USE_CMAKE=    yes
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++
 
-# std::make_unique
-GCC_REQD+=     5
+USE_CXX_FEATURES+=     unique_ptr
 
 .include "../../mk/bsd.prefs.mk"
 

Index: pkgsrc/games/devilutionx/Makefile
diff -u pkgsrc/games/devilutionx/Makefile:1.26 pkgsrc/games/devilutionx/Makefile:1.27
--- pkgsrc/games/devilutionx/Makefile:1.26      Mon Jun 26 08:53:17 2023
+++ pkgsrc/games/devilutionx/Makefile   Tue Jul 18 18:13:43 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2023/06/26 08:53:17 jperkin Exp $
+# $NetBSD: Makefile,v 1.27 2023/07/18 18:13:43 nia Exp $
 
 DISTNAME=      devilutionx-1.2.1
 PKGREVISION=   9
@@ -18,8 +18,7 @@ USE_CMAKE=    yes
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++
 
-# std::make_unique, etc
-GCC_REQD+=     5
+USE_CXX_FEATURES+=     unique_ptr
 
 CONFIGURE_DIRS=        build
 CMAKE_ARG_PATH=        ..

Index: pkgsrc/games/dhewm3/Makefile
diff -u pkgsrc/games/dhewm3/Makefile:1.19 pkgsrc/games/dhewm3/Makefile:1.20
--- pkgsrc/games/dhewm3/Makefile:1.19   Sat May  6 19:09:19 2023
+++ pkgsrc/games/dhewm3/Makefile        Tue Jul 18 18:13:43 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2023/05/06 19:09:19 ryoon Exp $
+# $NetBSD: Makefile,v 1.20 2023/07/18 18:13:43 nia Exp $
 
 DISTNAME=      dhewm3-1.5.1-src
 PKGNAME=       ${DISTNAME:S/-src//1}
@@ -19,8 +19,7 @@ USE_CMAKE=    yes
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c gnu++11
 
-# C++11
-GCC_REQD+=     4.7
+USE_CXX_FEATURES+=     c++11
 
 CONFIGURE_DIRS+=       neo
 

Index: pkgsrc/games/exult/Makefile
diff -u pkgsrc/games/exult/Makefile:1.38 pkgsrc/games/exult/Makefile:1.39
--- pkgsrc/games/exult/Makefile:1.38    Sat May  6 19:09:20 2023
+++ pkgsrc/games/exult/Makefile Tue Jul 18 18:13:43 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2023/05/06 19:09:20 ryoon Exp $
+# $NetBSD: Makefile,v 1.39 2023/07/18 18:13:43 nia Exp $
 
 DISTNAME=      exult-1.6
 PKGREVISION=   9
@@ -14,8 +14,7 @@ GNU_CONFIGURE=        yes
 USE_LANGUAGES= c c++
 USE_TOOLS+=    pkg-config yacc flex
 
-# C++17
-GCC_REQD+=     7
+USE_CXX_FEATURES+=     c++17
 
 CONFIGURE_ARGS+=       --with-sdl=sdl2
 CONFIGURE_ARGS+=       --disable-timidity-midi

Index: pkgsrc/games/gemrb/Makefile
diff -u pkgsrc/games/gemrb/Makefile:1.19 pkgsrc/games/gemrb/Makefile:1.20
--- pkgsrc/games/gemrb/Makefile:1.19    Sat May  6 19:09:20 2023
+++ pkgsrc/games/gemrb/Makefile Tue Jul 18 18:13:43 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2023/05/06 19:09:20 ryoon Exp $
+# $NetBSD: Makefile,v 1.20 2023/07/18 18:13:43 nia Exp $
 
 DISTNAME=      gemrb-0.9.1
 PKGREVISION=   1
@@ -15,7 +15,7 @@ USE_CMAKE=    yes
 USE_LANGUAGES= c c++
 USE_TOOLS+=    pkg-config
 
-GCC_REQD+=     4.7 # -std=gnu++11
+USE_CXX_FEATURES+=     c++11
 
 LDFLAGS+=      ${COMPILER_RPATH_FLAG}${PREFIX}/lib/gemrb
 LDFLAGS+=      -lm # ldexpf

Index: pkgsrc/games/mightymike/Makefile
diff -u pkgsrc/games/mightymike/Makefile:1.2 pkgsrc/games/mightymike/Makefile:1.3
--- pkgsrc/games/mightymike/Makefile:1.2        Sun Jul  9 22:02:18 2023
+++ pkgsrc/games/mightymike/Makefile    Tue Jul 18 18:13:43 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2023/07/09 22:02:18 nia Exp $
+# $NetBSD: Makefile,v 1.3 2023/07/18 18:13:43 nia Exp $
 
 DISTNAME=      mightymike-3.0.2
 CATEGORIES=    games
@@ -19,8 +19,7 @@ USE_CMAKE=    yes
 USE_LANGUAGES= c c++
 USE_TOOLS+=    pax pkg-config
 
-# __has_include
-GCC_REQD+=     5
+USE_CXX_FEATURES+=     has_include
 
 INSTALLATION_DIRS+=    bin
 INSTALLATION_DIRS+=    libexec

Index: pkgsrc/games/nanosaur/Makefile
diff -u pkgsrc/games/nanosaur/Makefile:1.4 pkgsrc/games/nanosaur/Makefile:1.5
--- pkgsrc/games/nanosaur/Makefile:1.4  Sun Jul  9 22:16:17 2023
+++ pkgsrc/games/nanosaur/Makefile      Tue Jul 18 18:13:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2023/07/09 22:16:17 nia Exp $
+# $NetBSD: Makefile,v 1.5 2023/07/18 18:13:44 nia Exp $
 
 DISTNAME=      nanosaur-1.4.4
 PKGREVISION=   2
@@ -20,8 +20,7 @@ USE_CMAKE=    yes
 USE_LANGUAGES= c c++
 USE_TOOLS+=    pax pkg-config
 
-# __has_include
-GCC_REQD+=     5
+USE_CXX_FEATURES+=     has_include
 
 INSTALLATION_DIRS+=    bin
 INSTALLATION_DIRS+=    libexec

Index: pkgsrc/games/openjk/Makefile
diff -u pkgsrc/games/openjk/Makefile:1.10 pkgsrc/games/openjk/Makefile:1.11
--- pkgsrc/games/openjk/Makefile:1.10   Thu Jul 13 13:45:42 2023
+++ pkgsrc/games/openjk/Makefile        Tue Jul 18 18:13:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2023/07/13 13:45:42 nia Exp $
+# $NetBSD: Makefile,v 1.11 2023/07/18 18:13:44 nia Exp $
 
 DISTNAME=      openjk-0.0.0.20191030
 PKGREVISION=   8
@@ -43,6 +43,8 @@ OPENJK_ARCH=  ${MACHINE_ARCH}
 
 PLIST_SUBST+=  OPENJK_ARCH=${OPENJK_ARCH}
 
+USE_CXX_FEATURES+=     c++11
+
 INSTALLATION_DIRS+=    bin
 INSTALLATION_DIRS+=    share/applications
 

Index: pkgsrc/games/openmw/Makefile
diff -u pkgsrc/games/openmw/Makefile:1.66 pkgsrc/games/openmw/Makefile:1.67
--- pkgsrc/games/openmw/Makefile:1.66   Tue Jun  6 08:02:09 2023
+++ pkgsrc/games/openmw/Makefile        Tue Jul 18 18:13:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.66 2023/06/06 08:02:09 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2023/07/18 18:13:44 nia Exp $
 
 DISTNAME=      openmw-openmw-0.47.0
 PKGNAME=       ${DISTNAME:S/^openmw-//1}
@@ -19,8 +19,7 @@ USE_CMAKE=    yes
 USE_LANGUAGES= c c++
 USE_TOOLS+=    pkg-config
 
-# C++11
-GCC_REQD+=     4.8
+USE_CXX_FEATURES+=     c++11
 
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE="Release"
 CMAKE_ARGS+=   -DGLOBAL_CONFIG_DIR=${PKG_SYSCONFDIR}

Index: pkgsrc/games/openrct2/Makefile
diff -u pkgsrc/games/openrct2/Makefile:1.28 pkgsrc/games/openrct2/Makefile:1.29
--- pkgsrc/games/openrct2/Makefile:1.28 Mon Jul 17 19:41:15 2023
+++ pkgsrc/games/openrct2/Makefile      Tue Jul 18 18:13:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2023/07/17 19:41:15 triaxx Exp $
+# $NetBSD: Makefile,v 1.29 2023/07/18 18:13:44 nia Exp $
 
 DISTNAME=      openrct2-0.2.5
 CATEGORIES=    games
@@ -15,8 +15,7 @@ USE_CMAKE=    yes
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++17
 
-# C++17
-GCC_REQD+=     7
+USE_CXX_FEATURES+=     c++17
 
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE="Release"
 

Index: pkgsrc/games/openttd/Makefile
diff -u pkgsrc/games/openttd/Makefile:1.113 pkgsrc/games/openttd/Makefile:1.114
--- pkgsrc/games/openttd/Makefile:1.113 Mon Jul 17 21:07:58 2023
+++ pkgsrc/games/openttd/Makefile       Tue Jul 18 18:13:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.113 2023/07/17 21:07:58 adam Exp $
+# $NetBSD: Makefile,v 1.114 2023/07/18 18:13:44 nia Exp $
 
 DISTNAME=      openttd-13.3-source
 PKGNAME=       ${DISTNAME:S/-source//}
@@ -16,8 +16,7 @@ WRKSRC=               ${WRKDIR}/${PKGNAME_NOREV}
 USE_LANGUAGES= c c++
 USE_TOOLS+=    pkg-config
 
-# C++17
-GCC_REQD+=     8 # std::charconv
+USE_CXX_FEATURES+=     charconv
 
 BUILD_DEFS+=   VARBASE
 

Index: pkgsrc/games/ottomatic/Makefile
diff -u pkgsrc/games/ottomatic/Makefile:1.4 pkgsrc/games/ottomatic/Makefile:1.5
--- pkgsrc/games/ottomatic/Makefile:1.4 Sun Jul  9 22:18:44 2023
+++ pkgsrc/games/ottomatic/Makefile     Tue Jul 18 18:13:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2023/07/09 22:18:44 nia Exp $
+# $NetBSD: Makefile,v 1.5 2023/07/18 18:13:44 nia Exp $
 
 DISTNAME=      ottomatic-4.0.1
 PKGREVISION=   2
@@ -17,8 +17,7 @@ USE_CMAKE=    yes
 USE_LANGUAGES= c c++
 USE_TOOLS+=    pax pkg-config
 
-# __has_include
-GCC_REQD+=     5
+USE_CXX_FEATURES+=     has_include
 
 WRKSRC=                        ${WRKDIR}/OttoMatic-${PKGVERSION_NOREV}
 

Index: pkgsrc/games/powder-toy/Makefile
diff -u pkgsrc/games/powder-toy/Makefile:1.18 pkgsrc/games/powder-toy/Makefile:1.19
--- pkgsrc/games/powder-toy/Makefile:1.18       Sat May  6 19:09:28 2023
+++ pkgsrc/games/powder-toy/Makefile    Tue Jul 18 18:13:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2023/05/06 19:09:28 ryoon Exp $
+# $NetBSD: Makefile,v 1.19 2023/07/18 18:13:44 nia Exp $
 
 DISTNAME=      powder-toy-95.0
 PKGREVISION=   11
@@ -14,7 +14,8 @@ LICENSE=      gnu-gpl-v3
 
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++
-GCC_REQD+=     4.8
+
+USE_CXX_FEATURES+=     c++11
 
 SCONS_ARGS+=   ${_MAKE_JOBS}
 SCONS_ARGS+=   --output=powder-toy

Index: pkgsrc/games/solarus/Makefile
diff -u pkgsrc/games/solarus/Makefile:1.64 pkgsrc/games/solarus/Makefile:1.65
--- pkgsrc/games/solarus/Makefile:1.64  Mon May 22 21:00:29 2023
+++ pkgsrc/games/solarus/Makefile       Tue Jul 18 18:13:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2023/05/22 21:00:29 wiz Exp $
+# $NetBSD: Makefile,v 1.65 2023/07/18 18:13:44 nia Exp $
 
 VERSION=       1.5.1
 DISTNAME=      solarus-${VERSION}-src
@@ -18,9 +18,10 @@ WRKSRC=              ${WRKDIR}/solarus-${VERSION}
 USE_CMAKE=     yes
 USE_LANGUAGES= c c++
 
-GCC_REQD+=     4.8
 LDFLAGS.SunOS+=        -lsocket -lnsl
 
+USE_CXX_FEATURES+=     c++11
+
 .include "options.mk"
 .include "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../devel/physfs/buildlink3.mk"

Index: pkgsrc/games/stone-soup/Makefile.common
diff -u pkgsrc/games/stone-soup/Makefile.common:1.13 pkgsrc/games/stone-soup/Makefile.common:1.14
--- pkgsrc/games/stone-soup/Makefile.common:1.13        Thu Jul 13 13:45:43 2023
+++ pkgsrc/games/stone-soup/Makefile.common     Tue Jul 18 18:13:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.13 2023/07/13 13:45:43 nia Exp $
+# $NetBSD: Makefile.common,v 1.14 2023/07/18 18:13:44 nia Exp $
 # used by games/stone-soup/Makefile
 # used by games/stone-soup-sdl/Makefile
 
@@ -47,6 +47,8 @@ REPLACE_PYTHON+=      sources/webserver/ws_ha
 
 LUA_VERSIONS_ACCEPTED= 51
 
+USE_CXX_FEATURES+=     c++11
+
 CHECK_PORTABILITY_SKIP+=       source/contrib/sdl2/build-scripts/androidbuildlibs.sh
 CHECK_PORTABILITY_SKIP+=       source/contrib/sdl2/build-scripts/iosbuild.sh
 CHECK_PORTABILITY_SKIP+=       source/contrib/sdl2-image/external/tiff-4.0.3/configure

Index: pkgsrc/games/taisei/Makefile
diff -u pkgsrc/games/taisei/Makefile:1.26 pkgsrc/games/taisei/Makefile:1.27
--- pkgsrc/games/taisei/Makefile:1.26   Sat May  6 19:09:30 2023
+++ pkgsrc/games/taisei/Makefile        Tue Jul 18 18:13:45 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2023/05/06 19:09:30 ryoon Exp $
+# $NetBSD: Makefile,v 1.27 2023/07/18 18:13:45 nia Exp $
 
 DISTNAME=      taisei-v1.3.2
 PKGNAME=       ${DISTNAME:S/-v/-/}
@@ -15,8 +15,7 @@ LICENSE=      mit
 
 USE_TOOLS+=    pkg-config
 
-# C++14
-GCC_REQD+=     5
+USE_CXX_FEATURES+=     c++14
 
 MESON_ARGS+=   -Db_pch=false
 MESON_ARGS+=   -Db_lto=false

Index: pkgsrc/games/wesnoth/Makefile
diff -u pkgsrc/games/wesnoth/Makefile:1.199 pkgsrc/games/wesnoth/Makefile:1.200
--- pkgsrc/games/wesnoth/Makefile:1.199 Sun Jul  9 22:31:19 2023
+++ pkgsrc/games/wesnoth/Makefile       Tue Jul 18 18:13:45 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.199 2023/07/09 22:31:19 nia Exp $
+# $NetBSD: Makefile,v 1.200 2023/07/18 18:13:45 nia Exp $
 
 DISTNAME=      wesnoth-1.16.9
 PKGREVISION=   1
@@ -23,8 +23,7 @@ CMAKE_ARGS+=          -DENABLE_HISTORY=OFF
 # if OPT is set, -O3 will not be added
 CMAKE_ARGS+=           -DOPT="${DBG}"
 
-# std::string_view
-GCC_REQD+=             7
+USE_CXX_FEATURES+=     c++17
 
 CFLAGS.Darwin=         -framework Cocoa
 

Index: pkgsrc/games/widelands/Makefile
diff -u pkgsrc/games/widelands/Makefile:1.32 pkgsrc/games/widelands/Makefile:1.33
--- pkgsrc/games/widelands/Makefile:1.32        Sat May  6 19:09:30 2023
+++ pkgsrc/games/widelands/Makefile     Tue Jul 18 18:13:45 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2023/05/06 19:09:30 ryoon Exp $
+# $NetBSD: Makefile,v 1.33 2023/07/18 18:13:45 nia Exp $
 
 DISTNAME=      widelands-build21-source
 PKGNAME=       widelands-21
@@ -16,8 +16,7 @@ USE_TOOLS+=   pkg-config
 USE_TOOLS+=    msgfmt msgmerge pkg-config xgettext
 USE_LANGUAGES= c c++
 
-# C++11
-GCC_REQD+=     4.8
+USE_CXX_FEATURES+=     c++11
 
 CONFIGURE_DIRS=        build
 CMAKE_ARG_PATH=        ..

Index: pkgsrc/games/xonotic/Makefile
diff -u pkgsrc/games/xonotic/Makefile:1.16 pkgsrc/games/xonotic/Makefile:1.17
--- pkgsrc/games/xonotic/Makefile:1.16  Sat May  6 19:09:31 2023
+++ pkgsrc/games/xonotic/Makefile       Tue Jul 18 18:13:45 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2023/05/06 19:09:31 ryoon Exp $
+# $NetBSD: Makefile,v 1.17 2023/07/18 18:13:45 nia Exp $
 
 DISTNAME=      xonotic-0.8.2
 PKGREVISION=   9
@@ -12,10 +12,9 @@ COMMENT=     Fast arena-style FPS
 LICENSE=       gnu-gpl-v2
 
 USE_TOOLS+=    gmake gsed 7za bash zip
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c c++
 
-# C++11
-GCC_REQD+=     4.7
+USE_CXX_FEATURES+=     c++11
 
 WRKSRC=                ${WRKDIR}/Xonotic
 BUILD_TARGET=  all-zip-source



Home | Main Index | Thread Index | Old Index