git: f120efcf3fde - main - multimedia/obs-waveform: unbreak build on !x86[_64]
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Sep 2026 17:21:13 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f120efcf3fde13663ba9e1ccc89d54506dd40198
commit f120efcf3fde13663ba9e1ccc89d54506dd40198
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-09-07 17:18:22 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-09-07 17:18:22 +0000
multimedia/obs-waveform: unbreak build on !x86[_64]
Avoid usage of Intel-specific CPU instructions on non-Intel platforms
Reported by: bulk -t (aarch64)
Approved by: portmgr blanket
---
multimedia/obs-waveform/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/multimedia/obs-waveform/Makefile b/multimedia/obs-waveform/Makefile
index 31a63997eab8..7cce2ca4e455 100644
--- a/multimedia/obs-waveform/Makefile
+++ b/multimedia/obs-waveform/Makefile
@@ -32,4 +32,10 @@ PLIST_FILES= lib/obs-plugins/waveform.so \
share/obs/obs-plugins/waveform/locale/zh-CN.ini \
share/obs/obs-plugins/waveform/locale/zh-TW.ini
+.include <bsd.port.options.mk>
+
+.if empty(ARCH:Mamd64) && empty(ARCH:Mi386)
+CMAKE_OFF+= ENABLE_X86_SIMD
+.endif
+
.include <bsd.port.mk>