git: 2c5855d64ff7 - main - graphics/libavif: Remove bundled libraries

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 19 Mar 2025 03:57:57 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2c5855d64ff7c8459a3bf90cb138f51a8e860803

commit 2c5855d64ff7c8459a3bf90cb138f51a8e860803
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-03-19 03:37:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-03-19 03:37:02 +0000

    graphics/libavif: Remove bundled libraries
---
 graphics/libavif/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/graphics/libavif/Makefile b/graphics/libavif/Makefile
index aa8cb4860aa5..a44f1f1405a2 100644
--- a/graphics/libavif/Makefile
+++ b/graphics/libavif/Makefile
@@ -73,4 +73,8 @@ SVTAV1_CMAKE_OFF=	-DAVIF_CODEC_SVT:STRING=OFF
 SVTAV1_CMAKE_ON=	-DAVIF_CODEC_SVT:STRING=SYSTEM
 SVTAV1_LIB_DEPENDS=	libSvtAv1Enc.so:multimedia/svt-av1
 
+post-patch:
+# Clean up bundled libraries
+	@${RM} -r ${WRKSRC}/third_party/libyuv/
+
 .include <bsd.port.mk>