Date: Wed, 22 Oct 2014 17:44:06 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371364 - head/devel/libvirt Message-ID: <201410221744.s9MHi6tu078249@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Wed Oct 22 17:44:05 2014 New Revision: 371364 URL: https://svnweb.freebsd.org/changeset/ports/371364 QAT: https://qat.redports.org/buildarchive/r371364/ Log: - Fix support for BHYVE on head/amd64. Modifying OPTIONS_DEFAULT after including bsd.port.option.mk is not valid. Just check for existence of bhyve for now instead to determine default. PR: 194531 Reported by: Conrad Meyer Modified: head/devel/libvirt/Makefile Modified: head/devel/libvirt/Makefile ============================================================================== --- head/devel/libvirt/Makefile Wed Oct 22 17:30:26 2014 (r371363) +++ head/devel/libvirt/Makefile Wed Oct 22 17:44:05 2014 (r371364) @@ -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/dns 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 "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410221744.s9MHi6tu078249>