git: d5790309c4a0 - 2023Q3 - accessibility/at-spi2-core: unbreak build with glib/MANPAGES=off

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

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

commit d5790309c4a0c5fa52eab0033d28a4b5e4e9a236
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:18:31 +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)
    
    (cherry picked from commit b87eb7985bfeaac9c71e3c01826b585db7c9bad0)
---
 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 62752753d88f..e99f80195005 100644
--- a/accessibility/at-spi2-core/Makefile
+++ b/accessibility/at-spi2-core/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS=	libxkbcommon.so:x11/libxkbcommon
 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
 
 OPTIONS_DEFINE=	ATKONLY X11