Skip to content

Commit 41acd4f

Browse files
Alexey DokuchaevAlexey Dokuchaev
authored andcommitted
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.
1 parent c249ef5 commit 41acd4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎devel/py-game/Makefile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ WWW= https://www.pygame.org/news
1313
LICENSE= LGPL21
1414
LICENSE_FILE= ${WRKSRC}/docs/LGPL.txt
1515

16-
BROKEN_i386= error: always_inline function '_mm_set_epi32' requires target feature 'sse2'
17-
1816
BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat
1917
LIB_DEPENDS= libfreetype.so:print/freetype2 \
2018
libpng.so:graphics/png
@@ -26,6 +24,8 @@ USE_SDL= sdl2 ttf2 image2 mixer2
2624
USE_PYTHON= autoplist distutils
2725
USE_XORG= x11
2826

27+
CFLAGS_i386= -msse2 # src_c/image.c:319:12: error: always_inline function '_mm_set_epi32' requires target feature 'sse2'
28+
2929
SDLNOX11= sdl-nox11-[0-9]*
3030

3131
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
@@ -37,7 +37,7 @@ PORTDOCS= *
3737
PORTEXAMPLES= *
3838

3939
post-extract:
40-
@${RM} -r ${WRKSRC}/examples/.editorconfig
40+
@${RM} ${WRKSRC}/examples/.editorconfig
4141

4242
post-install-EXAMPLES-on:
4343
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

0 commit comments

Comments
 (0)