git: 274d844214e8 - main - devel/dbus: use minixmlto over xmlto

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Fri, 13 May 2022 08:30:06 UTC
The branch main has been updated by bapt:

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

commit 274d844214e882f49ce8aaf68bfbeaf2f6731b35
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-05-13 08:24:31 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-05-13 08:29:45 +0000

    devel/dbus: use minixmlto over xmlto
    
    Depending on the options set by the user w3m may depend on gtk,
    if the X11 option is set)  which will result in a circular dependency
    gtk2 -> glib2 -> dbus -> xmlto -> w3m -> gtk2
    
    minixmlto never bring w3m in the dependency list
    
    PR:             263950
    Reported by:    dgilbert@eicat.ca
---
 devel/dbus/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile
index 90e84943ac4e..5baa26a30a41 100644
--- a/devel/dbus/Makefile
+++ b/devel/dbus/Makefile
@@ -43,7 +43,8 @@ OPTIONS_DEFAULT=	MANPAGES X11
 OPTIONS_SUB=		yes
 X11_DESC=		Support X11 Desktop Environments
 
-MANPAGES_BUILD_DEPENDS=		xmlto:textproc/xmlto
+MANPAGES_BUILD_DEPENDS=		minixmlto:textproc/minixmlto
+MANPAGES_CONFIGURE_ENV=		XMLTO=${LOCALBASE}/bin/minixmlto
 MANPAGES_CONFIGURE_ENABLE=	xml-docs
 X11_USES=			xorg
 X11_USE=			XORG=ice,sm,x11