git: 41acd4f5751f - main - devel/py-game: try to unbreak the port's build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Jun 2025 06:14:37 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=41acd4f5751f74935a9d4f8070f526f1dfa7df56
commit 41acd4f5751f74935a9d4f8070f526f1dfa7df56
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2025-06-17 06:13:24 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2025-06-17 06:13:24 +0000
devel/py-game: try to unbreak the port's build on i386
It is fairly safe to assume that 32-bit x86 CPUs people
still use for gaming these days support SSE2, like this
Pentium M 780 of mine. While here, drop confusing `-r'
argument from rm(1) when removing a regular file.
---
devel/py-game/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/devel/py-game/Makefile b/devel/py-game/Makefile
index c73e0ec5c2b6..d6f005712b2b 100644
--- a/devel/py-game/Makefile
+++ b/devel/py-game/Makefile
@@ -13,8 +13,6 @@ WWW= https://www.pygame.org/news
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/docs/LGPL.txt
-BROKEN_i386= error: always_inline function '_mm_set_epi32' requires target feature 'sse2'
-
BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libpng.so:graphics/png
@@ -26,6 +24,8 @@ USE_SDL= sdl2 ttf2 image2 mixer2
USE_PYTHON= autoplist distutils
USE_XORG= x11
+CFLAGS_i386= -msse2 # src_c/image.c:319:12: error: always_inline function '_mm_set_epi32' requires target feature 'sse2'
+
SDLNOX11= sdl-nox11-[0-9]*
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
@@ -37,7 +37,7 @@ PORTDOCS= *
PORTEXAMPLES= *
post-extract:
- @${RM} -r ${WRKSRC}/examples/.editorconfig
+ @${RM} ${WRKSRC}/examples/.editorconfig
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}