git: 68a14eafbca1 - main - graphics/libavif: respect LIBYUV=off even if libyuv is installed

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 14 Oct 2022 22:31:23 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68a14eafbca1c975ea4a6ce5be34bbf4131e09bf

commit 68a14eafbca1c975ea4a6ce5be34bbf4131e09bf
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-10-14 21:37:00 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-14 22:30:54 +0000

    graphics/libavif: respect LIBYUV=off even if libyuv is installed
---
 graphics/libavif/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/libavif/Makefile b/graphics/libavif/Makefile
index 7f252b0208d3..23cbe3771602 100644
--- a/graphics/libavif/Makefile
+++ b/graphics/libavif/Makefile
@@ -44,6 +44,7 @@ GAV1_CMAKE_BOOL=	AVIF_CODEC_LIBGAV1
 LIBYUV_DESC=		Colorspace conversion via libyuv
 LIBYUV_BUILD_DEPENDS=	libyuv>=0.0.1774:graphics/libyuv
 LIBYUV_LIB_DEPENDS=	libyuv.so:graphics/libyuv
+LIBYUV_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_libyuv
 
 PIXBUF_USES=		gnome
 PIXBUF_USE=		GNOME=gdkpixbuf2