mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
emulators/dosbox-staging: Disable SIMD autodetection
Disable SIMD autodetection when building official package. PR: 282381 Reported by: Eirik Oeverby
This commit is contained in:
parent
94894ac316
commit
d7d4e43aeb
@ -22,7 +22,8 @@ USE_GL= gl
|
||||
USE_SDL= sdl2 net2
|
||||
USE_GITHUB= yes
|
||||
|
||||
MESON_ARGS= -Dunit_tests=disabled -Duse_mt32emu=false
|
||||
MESON_ARGS= -Dunit_tests=disabled \
|
||||
-Duse_mt32emu=false
|
||||
LDFLAGS+= -pthread
|
||||
|
||||
OPTIONS_DEFINE= ALSA DOCS FLUIDSYNTH
|
||||
@ -35,6 +36,12 @@ ALSA_MESON_TRUE= use_alsa
|
||||
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth
|
||||
FLUIDSYNTH_MESON_TRUE= use_fluidsynth
|
||||
|
||||
.if defined(PACKAGE_BUILDING)
|
||||
# Disable SIMD autodetection
|
||||
# https://github.com/dosbox-staging/dosbox-staging/issues/4020
|
||||
MESON_ARGS+= -Duse_zlib_ng=sse2,ssse3,neon
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's,/usr/share/doc/dosbox-staging,${DOCSDIR},' \
|
||||
${WRKSRC}/docs/dosbox.1
|
||||
|
Loading…
Reference in New Issue
Block a user