git: fb6094e6fac9 - main - multimedia/gavl: Fix build if port iconv installed

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Mon, 15 Jun 2026 21:25:11 UTC
The branch main has been updated by jhale:

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

commit fb6094e6fac9fdaf7ac7ff0645075ba5eec58091
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2026-06-15 16:03:26 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2026-06-15 16:03:26 +0000

    multimedia/gavl: Fix build if port iconv installed
    
    In some cases, if converters/libiconv is installed the port will fail
    to link. This does not affect poudriere builds, but since iconv methods
    are used, USES=iconv should be added to the Makefile anyways.
    
    ld: error: undefined symbol: libiconv_open
    >>>  referenced by charset.c
    >>> .libs/charset.o:(gavl_charset_converter_create)
    
    Reported by:    vvd via #freebsd-desktop
---
 multimedia/gavl/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/multimedia/gavl/Makefile b/multimedia/gavl/Makefile
index 35400c794dc9..9ca1ebe37655 100644
--- a/multimedia/gavl/Makefile
+++ b/multimedia/gavl/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libdrm.so:graphics/libdrm \
 		libpng.so:graphics/png \
 		libva.so:multimedia/libva
 
-USES=		gl libtool localbase pkgconfig
+USES=		gl iconv libtool localbase pkgconfig
 USE_GL=		egl gl
 USE_LDCONFIG=	yes