aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-10-22 17:44:05 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-10-22 17:44:05 +0000
commit137f2059f62c06409e89c50af476a86cd7ed776c (patch)
tree659813dfac88071dbee565e6a55720750c16554d /devel
parentbe6fb223ffdc37a325e11ab0ea5a44ff019bc9f3 (diff)
downloadports-137f2059f62c06409e89c50af476a86cd7ed776c.tar.gz
ports-137f2059f62c06409e89c50af476a86cd7ed776c.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/libvirt/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/devel/libvirt/Makefile b/devel/libvirt/Makefile
index b5574a47fa24..cf0d21645f28 100644
--- a/devel/libvirt/Makefile
+++ b/devel/libvirt/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libvirt
PORTVERSION= 1.2.6
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= http://libvirt.org/sources/ \
ftp://libvirt.org/libvirt/
@@ -23,6 +23,9 @@ RUN_DEPENDS= dnsmasq:${PORTSDIR}/dns/dnsmasq
OPTIONS_DEFINE= DOCS NLS QEMU
OPTIONS_DEFINE_amd64= BHYVE
+.if exists(/usr/sbin/bhyve)
+OPTIONS_DEFAULT_amd64= BHYVE
+.endif
QEMU_DESC= QEMU driver
BHYVE_DESC= bhyve driver
@@ -73,10 +76,6 @@ PORTDOCS= *
.include <bsd.port.options.mk>
-.if ${OSVERSION} >= 1000000
-OPTIONS_DEFAULT_amd64= BHYVE
-.endif
-
#work around an options bug (thanks mat@)
.if ${ARCH} != amd64
PLIST_SUB+= BHYVE="@comment "