snes9x: Attempt to accomodate messy c++ versions situation

This commit is contained in:
nia 2024-02-21 11:31:21 +00:00
parent bec4a7433a
commit f2b7a64ba3
4 changed files with 13 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2020/05/30 15:20:12 nia Exp $
# $NetBSD: Makefile,v 1.7 2024/02/21 11:31:21 nia Exp $
.include "../../emulators/snes9x/Makefile.common"
@ -12,5 +12,7 @@ BUILD_DIRS= libretro
LIBRETRO_CORE= snes9x
FORCE_CXX_STD= c++11
.include "../../emulators/retroarch/core.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.104 2024/02/17 21:19:30 nia Exp $
# $NetBSD: Makefile,v 1.105 2024/02/21 11:31:21 nia Exp $
PKGREVISION= 1
.include "../../emulators/snes9x/Makefile.common"
@ -12,6 +12,9 @@ USE_TOOLS+= pkg-config
USE_TOOLS+= msgfmt xgettext
USE_TOOLS+= gawk
USE_CXX_FEATURES+= c++17
FORCE_CXX_STD= c++17
USE_PKGLOCALEDIR= yes
CMAKE_ARGS+= -DUSE_SYSTEMZIP=ON

View File

@ -1,10 +1,12 @@
# $NetBSD: Makefile,v 1.60 2022/05/03 17:09:19 nia Exp $
# $NetBSD: Makefile,v 1.61 2024/02/21 11:31:21 nia Exp $
.include "../../emulators/snes9x/Makefile.common"
MAINTAINER= nia@NetBSD.org
COMMENT= Super Nintendo Entertainment System (SNES) emulator (CLI version)
FORCE_CXX_STD= c++11
CONFIGURE_DIRS= unix
BUILD_DIRS= unix

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.7 2023/11/20 10:19:00 nia Exp $
# $NetBSD: Makefile.common,v 1.8 2024/02/21 11:31:21 nia Exp $
# used by emulators/libretro-snes9x/Makefile
# used by emulators/snes9x/Makefile
@ -20,5 +20,7 @@ LICENSE= snes9x-license
USE_LANGUAGES= c c++
USE_CXX_FEATURES+= c++11
DISTINFO_FILE= ${.CURDIR}/../../emulators/snes9x/distinfo
PATCHDIR= ${.CURDIR}/../../emulators/snes9x/patches