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:   wiz
Date:           Thu Oct  9 21:33:15 UTC 2025

Modified Files:
        pkgsrc/emulators/mame: Makefile

Log Message:
mame: fix Python handling

Python is just a tool, its headers don't need to be buildlinked.

Fixes build with Python 3.14, whose audit.h headers was unnecessarily
confusing the build.


To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.221 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.220 pkgsrc/emulators/mame/Makefile:1.221
--- pkgsrc/emulators/mame/Makefile:1.220        Thu Oct  9 14:36:18 2025
+++ pkgsrc/emulators/mame/Makefile      Thu Oct  9 21:33:15 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.220 2025/10/09 14:36:18 wiz Exp $
+# $NetBSD: Makefile,v 1.221 2025/10/09 21:33:15 wiz Exp $
 
 DISTNAME=      mame-0.281
 CATEGORIES=    emulators
@@ -28,8 +28,7 @@ MAKE_FILE=            makefile
 # "GCC version 10.3 or later needed"
 GCC_REQD+=             10
 
-# https://github.com/mamedev/mame/issues/14305
-PYTHON_VERSIONS_INCOMPATIBLE=  314
+PYTHON_FOR_BUILD_ONLY=         tool
 
 .include "../../mk/bsd.prefs.mk"
 # error: invalid argument '-std=gnu++17' not allowed with 'Objective-C'
@@ -96,8 +95,6 @@ MAKE_ENV+=    TOOLS=1
 MAKE_ENV+=     BIGENDIAN=1
 .endif
 
-PYTHON_FOR_BUILD_ONLY=         yes
-
 post-extract:
        # will be chosen in preference to /usr/include/signal.h, but does not provide kill()
        ${RM} ${WRKSRC}/3rdparty/bx/include/compat/freebsd/signal.h
@@ -134,8 +131,7 @@ do-install:
 .include "../../graphics/glm/buildlink3.mk"
 .include "../../fonts/SDL2_ttf/buildlink3.mk"
 .include "../../fonts/fontconfig/buildlink3.mk"
-.include "../../lang/python/batteries-included.mk"
-.include "../../lang/python/pyversion.mk"
+.include "../../lang/python/tool.mk"
 .include "../../textproc/expat/buildlink3.mk"
 .include "../../textproc/pugixml/buildlink3.mk"
 .include "../../textproc/rapidjson/buildlink3.mk"



Home | Main Index | Thread Index | Old Index