git: ce3d0cc5945e - main - devel/libvirt: enable BHYVE option on arm64
Date: Wed, 11 Mar 2026 12:13:02 UTC
The branch main has been updated by novel:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ce3d0cc5945ee374d845ae16351999d43ca7cd42
commit ce3d0cc5945ee374d845ae16351999d43ca7cd42
Author: Roman Bogorodskiy <novel@FreeBSD.org>
AuthorDate: 2026-03-10 17:14:30 +0000
Commit: Roman Bogorodskiy <novel@FreeBSD.org>
CommitDate: 2026-03-11 12:11:25 +0000
devel/libvirt: enable BHYVE option on arm64
Currently, the BHYVE option is available only if "/usr/sbin/bhyveload"
is present. However, bhyveload(8) is not present on arm64.
To make the BHYVE option available on arm64 too, update
the condition to check for the "/usr/sbin/bhyve" path instead.
Sponsored by: The FreeBSD Foundation
---
devel/libvirt/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/devel/libvirt/Makefile b/devel/libvirt/Makefile
index 9ef329749e89..5520a090820b 100644
--- a/devel/libvirt/Makefile
+++ b/devel/libvirt/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libvirt
DISTVERSION= 12.1.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://libvirt.org/sources/ \
ftp://libvirt.org/libvirt/
@@ -22,7 +23,7 @@ RUN_DEPENDS= dnsmasq:dns/dnsmasq
OPTIONS_DEFINE= DOCS NLS NSS QEMU READLINE SASL SLIRP LIBSSH LIBSSH2 ZFS
OPTIONS_DEFAULT= READLINE LIBSSH LIBSSH2 ZFS
OPTIONS_DEFINE_amd64= XEN
-.if exists(/usr/sbin/bhyveload)
+.if exists(/usr/sbin/bhyve)
OPTIONS_DEFINE+= BHYVE
OPTIONS_DEFAULT+= BHYVE SLIRP
.else