git: b87eb7985bfe - main - accessibility/at-spi2-core: unbreak build with glib/MANPAGES=off

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 23 Sep 2023 13:18:07 UTC
The branch main has been updated by jbeich:

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

commit b87eb7985bfeaac9c71e3c01826b585db7c9bad0
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-09-23 13:05:03 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-09-23 13:17:43 +0000

    accessibility/at-spi2-core: unbreak build with glib/MANPAGES=off
    
    meson.build:147:13: ERROR: Dependency "libxml-2.0" not found, tried pkgconfig
    
    libxml2 is only used by tests which cannot be disabled. devel/glib20 has it in
    LIB_DEPENDS due to USE_GNOME=libxslt:build -> libxslt_USE_GNOME_IMPL=libxml2
    without specifying :build suffix.
    
    PR:             274045
    Reported by:    Anton Saietskii
    Submitted by:   Olivier Duchateau (based on)
---
 accessibility/at-spi2-core/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/accessibility/at-spi2-core/Makefile b/accessibility/at-spi2-core/Makefile
index a795ff14b287..a7c0bc838ad7 100644
--- a/accessibility/at-spi2-core/Makefile
+++ b/accessibility/at-spi2-core/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 PORTSCOUT=	limitw:1,even
 
 USES=		gettext gnome localbase meson pkgconfig tar:xz
-USE_GNOME=	glib20 introspection:build
+USE_GNOME=	glib20 introspection:build libxml2:build
 USE_LDCONFIG=	yes
 MESON_ARGS=	-Duse_systemd=false