Date: Thu, 13 Apr 2023 00:52:13 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 265c4c3dbff4 - main - multimedia/libdv: fix build on !x86 Message-ID: <202304130052.33D0qD9V019007@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=265c4c3dbff47f6e795d8e8acd3ce04dabf95599 commit 265c4c3dbff47f6e795d8e8acd3ce04dabf95599 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-04-13 00:51:22 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-04-13 00:51:22 +0000 multimedia/libdv: fix build on !x86 Disable asm on everything but amd64 / i386: libdv/meson.build:62:2: ERROR: Problem encountered: Assembly optimizations were requested, but are not available with this architecture/compiler. --- multimedia/libdv/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/multimedia/libdv/Makefile b/multimedia/libdv/Makefile index c6de6c1f06be..674d028631bb 100644 --- a/multimedia/libdv/Makefile +++ b/multimedia/libdv/Makefile @@ -26,4 +26,10 @@ LDFLAGS_i386= -Wl,-znotext MESON_ARGS= -Dtools=enabled +.include <bsd.port.options.mk> + +.if ${ARCH} != amd64 && ${ARCH} != i386 +MESON_ARGS+= -Dasm=disabled +.endif + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304130052.33D0qD9V019007>