git: 8d3b435c4222 - main - devel/libvirt: unbreak with --auto-features=enabled on i386

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 28 Mar 2023 08:29:25 UTC
The branch main has been updated by jbeich:

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

commit 8d3b435c422270886336127a0a73189a62d3ccbc
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-03-01 18:42:00 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-28 08:28:15 +0000

    devel/libvirt: unbreak with --auto-features=enabled on i386
    
    meson.build:1438:2: ERROR: Dependency "xenlight" not found, tried pkgconfig
    
    As XEN option is limited to amd64 the option helper doesn't trigger,
    so pass the argument more than once on amd64.
    
    $ make -V '${MESON_ARGS:M*libxl*}' WITH=XEN
    -Ddriver_libxl=disabled -Ddriver_libxl=enabled
    
    PR:             270361
    Reported by:    antoine (via exp-run)
---
 devel/libvirt/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/libvirt/Makefile b/devel/libvirt/Makefile
index 7564ae9d2093..5032dcdd3782 100644
--- a/devel/libvirt/Makefile
+++ b/devel/libvirt/Makefile
@@ -83,6 +83,7 @@ MESON_ARGS+=	\
 		-Dcapng=disabled \
 		-Ddriver_hyperv=disabled \
 		-Ddriver_interface=disabled \
+		-Ddriver_libxl=disabled \
 		-Ddriver_lxc=disabled \
 		-Ddriver_openvz=disabled \
 		-Ddriver_remote=enabled \