pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/emulators/mame
Module Name: pkgsrc
Committed By: adam
Date: Mon Jun 17 19:43:48 UTC 2024
Modified Files:
pkgsrc/emulators/mame: Makefile
Log Message:
mame: fix build on Darwin
To generate a diff of this commit:
cvs rdiff -u -r1.196 -r1.197 pkgsrc/emulators/mame/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/emulators/mame/Makefile
diff -u pkgsrc/emulators/mame/Makefile:1.196 pkgsrc/emulators/mame/Makefile:1.197
--- pkgsrc/emulators/mame/Makefile:1.196 Sat Jun 8 14:43:26 2024
+++ pkgsrc/emulators/mame/Makefile Mon Jun 17 19:43:48 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.196 2024/06/08 14:43:26 wiz Exp $
+# $NetBSD: Makefile,v 1.197 2024/06/17 19:43:48 adam Exp $
DISTNAME= mame-0.266
CATEGORIES= emulators
@@ -28,10 +28,12 @@ MAKE_FILE= makefile
# "GCC version 10.3 or later needed"
GCC_REQD+= 10
+.include "../../mk/bsd.prefs.mk"
+# error: invalid argument '-std=gnu++17' not allowed with 'Objective-C'
+.if ${OPSYS} != "Darwin"
# Need to use gnu++ instead of c++ to get __builtin_alloca() (!)
FORCE_CXX_STD= gnu++17
-
-.include "../../mk/bsd.prefs.mk"
+.endif
MAKE_FLAGS+= PRECOMPILE=0
# TODO: set differently when debugging?
Home |
Main Index |
Thread Index |
Old Index