From owner-svn-ports-head@FreeBSD.ORG Thu Feb 19 19:11:11 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF73CBC2; Thu, 19 Feb 2015 19:11:11 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C164E20E; Thu, 19 Feb 2015 19:11:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1JJBB7b039542; Thu, 19 Feb 2015 19:11:11 GMT (envelope-from jgh@FreeBSD.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1JJBBrO039538; Thu, 19 Feb 2015 19:11:11 GMT (envelope-from jgh@FreeBSD.org) Message-Id: <201502191911.t1JJBBrO039538@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jgh set sender to jgh@FreeBSD.org using -f From: Jason Helfman Date: Thu, 19 Feb 2015 19:11:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379361 - head/devel/libvirt X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2015 19:11:12 -0000 Author: jgh Date: Thu Feb 19 19:11:10 2015 New Revision: 379361 URL: https://svnweb.freebsd.org/changeset/ports/379361 QAT: https://qat.redports.org/buildarchive/r379361/ Log: - fix build failures on 8/9 (bhyve) Reported by: mat@ Modified: head/devel/libvirt/Makefile head/devel/libvirt/pkg-plist Modified: head/devel/libvirt/Makefile ============================================================================== --- head/devel/libvirt/Makefile Thu Feb 19 19:10:48 2015 (r379360) +++ head/devel/libvirt/Makefile Thu Feb 19 19:11:10 2015 (r379361) @@ -21,8 +21,8 @@ BUILD_DEPENDS= dnsmasq:${PORTSDIR}/dns/d RUN_DEPENDS= dnsmasq:${PORTSDIR}/dns/dnsmasq OPTIONS_DEFINE= DOCS NLS QEMU SASL -OPTIONS_DEFINE_amd64= BHYVE .if exists(/usr/sbin/bhyve) +OPTIONS_DEFINE_amd64= BHYVE OPTIONS_DEFAULT_amd64= BHYVE .endif QEMU_DESC= QEMU driver @@ -36,8 +36,6 @@ QEMU_LIB_DEPENDS= libyajl.so:${PORTSDIR} QEMU_RUN_DEPENDS= dmidecode:${PORTSDIR}/sysutils/dmidecode \ qemu-io:${PORTSDIR}/emulators/qemu-devel -BHYVE_CONFIGURE_WITH= bhyve - NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} @@ -82,13 +80,15 @@ PORTDOCS= * .include -#work around an options bug (thanks mat@) -.if ${ARCH} != amd64 -PLIST_SUB+= BHYVE="@comment " +.if (exists(/usr/sbin/bhyve) && ${OSVERSION} >= 100051) +CONFIGURE_ARGS+= --with-bhyve +.else +CONFIGURE_ARGS+= --without-bhyve .endif .if ${PORT_OPTIONS:MBHYVE} -STRIP_FILES+= libvirt/connection-driver/libvirt_driver_bhyve.so +STRIP_FILES+= lib/libvirt/connection-driver/libvirt_driver_bhyve.so +PLIST_FILES+= lib/libvirt/connection-driver/libvirt_driver_bhyve.so .endif post-patch: @@ -119,6 +119,12 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor +.if ${PORT_OPTIONS:MBHYVE} +.for strip in ${STRIP_FILES} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${strip} +.endfor +.endif + .for dir in run/libvirt/network \ run/libvirt/qemu \ run/libvirt/lockd \ Modified: head/devel/libvirt/pkg-plist ============================================================================== --- head/devel/libvirt/pkg-plist Thu Feb 19 19:10:48 2015 (r379360) +++ head/devel/libvirt/pkg-plist Thu Feb 19 19:11:10 2015 (r379361) @@ -289,7 +289,6 @@ share/gtk-doc/html/libvirt/up.png %%NLS%%share/locale/zh_TW/LC_MESSAGES/libvirt.mo %%NLS%%share/locale/zu/LC_MESSAGES/libvirt.mo %%QEMU%%lib/libvirt/connection-driver/libvirt_driver_qemu.so -%%BHYVE%%lib/libvirt/connection-driver/libvirt_driver_bhyve.so lib/libvirt/connection-driver/libvirt_driver_network.so lib/libvirt/connection-driver/libvirt_driver_secret.so lib/libvirt/connection-driver/libvirt_driver_storage.so