git: 5405244f3481 - main - graphics/qt6-3d: Fix pkg-plist on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Aug 2023 17:43:51 UTC
The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=5405244f34816f4443bec396d1e8a05e7cedbcd4 commit 5405244f34816f4443bec396d1e8a05e7cedbcd4 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2023-08-02 17:27:21 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2023-08-02 17:43:46 +0000 graphics/qt6-3d: Fix pkg-plist on i386 OPTIONS_SUB was subbing out %%SIMD%% in pkg-plist as "" for i386, even if CPUTYPE was not set, but bsd.cpu.mk only assumes that sse2 instructions are available for amd64 in this case. Reported by: pkg-fallout --- graphics/qt6-3d/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/graphics/qt6-3d/Makefile b/graphics/qt6-3d/Makefile index 87bcccf5cefd..f16c62323acb 100644 --- a/graphics/qt6-3d/Makefile +++ b/graphics/qt6-3d/Makefile @@ -34,19 +34,19 @@ OPTIONS_DEFINE_i386= SIMD OPTIONS_DEFINE_amd64= SIMD OPTIONS_DEFAULT_i386= SIMD OPTIONS_DEFAULT_amd64= SIMD -OPTIONS_SUB= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MSIMD} . if !empty(MACHINE_CPU:Mavx2) CMAKE_ARGS+= -DINPUT_qt3d_simd=avx2 -PLIST_SUB+= AVX2="" +PLIST_SUB+= AVX2="" SIMD="" . elif !empty(MACHINE_CPU:Msse2) CMAKE_ARGS+= -DINPUT_qt3d_simd=sse2 -PLIST_SUB+= AVX2="@comment " +PLIST_SUB+= AVX2="@comment " SIMD="" . else CMAKE_ARGS+= -DINPUT_qt3d_simd=no +PLIST_SUB+= SIMD="@comment " . endif .else CMAKE_ARGS+= -DINPUT_qt3d_simd=no