pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/ckmame ckmame: use GCC runtime from pkgsrc f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/feed498d3e1b
branches:  trunk
changeset: 373822:feed498d3e1b
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Feb 13 10:39:58 2022 +0000

description:
ckmame: use GCC runtime from pkgsrc for pre-current NetBSD for
std::filesystem

diffstat:

 emulators/ckmame/Makefile |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 7c5f30bfa324 -r feed498d3e1b emulators/ckmame/Makefile
--- a/emulators/ckmame/Makefile Sun Feb 13 10:30:19 2022 +0000
+++ b/emulators/ckmame/Makefile Sun Feb 13 10:39:58 2022 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index