summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-02-13 10:39:58 +0000
committernia <nia@pkgsrc.org>2022-02-13 10:39:58 +0000
commitb015f98fd586fba69af484943edee3e9dfa7d434 (patch)
treec408e5fe338ae06bf97bfb5bd6c4981f1bfe3a5f /emulators
parent5c47cd24204309dc78061ff74a14b1c57e88d09d (diff)
downloadpkgsrc-b015f98fd586fba69af484943edee3e9dfa7d434.tar.gz
ckmame: use GCC runtime from pkgsrc for pre-current NetBSD for
std::filesystem
Diffstat (limited to 'emulators')
-rw-r--r--emulators/ckmame/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/emulators/ckmame/Makefile b/emulators/ckmame/Makefile
index 52b9ecf7371..b8b15a8a02c 100644
--- a/emulators/ckmame/Makefile
+++ b/emulators/ckmame/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2021/12/08 16:04:14 adam Exp $
+# $NetBSD: Makefile,v 1.64 2022/02/13 10:39:58 nia Exp $
DISTNAME= ckmame-1.1
PKGREVISION= 2
@@ -16,7 +16,15 @@ USE_TOOLS+= pkg-config perl:test
USE_CMAKE= yes
TEST_TARGET= check
-GCC_REQD+= 8 # std::filesystem
+GCC_REQD+= 8 # std::filesystem
+USE_GCC_RUNTIME= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099915
+USE_PKGSRC_GCC= yes
+USE_PKGSRC_GCC_RUNTIME= yes
+.endif
.include "../../archivers/libarchive/buildlink3.mk"
BUILDLINK_API_DEPENDS.libzip+= libzip>=1.8