git: a2fb9923e701 - main - multimedia/vapoursynth: Clarify build requirements on amd64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Jun 2026 08:27:04 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a2fb9923e7014adde1da669b8322e5a8b631fc90
commit a2fb9923e7014adde1da669b8322e5a8b631fc90
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-06-20 06:19:45 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-06-20 08:26:45 +0000
multimedia/vapoursynth: Clarify build requirements on amd64
Vapoursynth is computational heavy so clarify why build might fail on
amd64.
Reported by: vvd
---
multimedia/vapoursynth/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/multimedia/vapoursynth/Makefile b/multimedia/vapoursynth/Makefile
index eeee7de45fb2..71b389e6ebcd 100644
--- a/multimedia/vapoursynth/Makefile
+++ b/multimedia/vapoursynth/Makefile
@@ -29,4 +29,11 @@ COMMENT+= (compatibility mode)
MESON_ARGS+= -Denable_x86_asm=false
.endif
+.if defined(CPUTYPE) && ${ARCH} == amd64
+BUILD_FAIL_MESSAGE+= If CPUTYPE is defined but falls under requirements (support for AVX2 instruction set) the build will fail. \
+ Building without utilizing the instruction set is possible however with performance penalties. \
+ To disable don't define CPUTYPE during build. \
+
+.endif
+
.include <bsd.port.mk>