Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 2015 19:50:55 +0300
From:      Roman Bogorodskiy <bogorodskiy@gmail.com>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        Jason Helfman <jgh@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r379361 - head/devel/libvirt
Message-ID:  <20151108165051.GD2188@kloomba.lvv.mirantis.net>
In-Reply-To: <20151105152019.GA2025@kloomba.lvv.mirantis.net>
References:  <201502191911.t1JJBBrO039538@svn.freebsd.org> <20151104181817.GM57666@hades.panopticon> <20151105152019.GA2025@kloomba.lvv.mirantis.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--KdquIMZPjGJQvRdI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

  Roman Bogorodskiy wrote:

>   Dmitry Marakasov wrote:
>=20
> > * Jason Helfman (jgh@FreeBSD.org) wrote:
> >=20
> > > 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/
> > >=20
> > > Log:
> > >   - fix build failures on 8/9 (bhyve)
> > >  =20
> > >   Reported by:	mat@
> > >=20
> > > Modified:
> > >   head/devel/libvirt/Makefile
> > >   head/devel/libvirt/pkg-plist
> > >=20
> > > Modified: head/devel/libvirt/Makefile
> > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> > > --- 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=3D	dnsmasq:${PORTSDIR}/dns/d
> > >  RUN_DEPENDS=3D	dnsmasq:${PORTSDIR}/dns/dnsmasq
> > > =20
> > >  OPTIONS_DEFINE=3D	DOCS NLS QEMU SASL
> > > -OPTIONS_DEFINE_amd64=3D	BHYVE
> > >  .if exists(/usr/sbin/bhyve)
> > > +OPTIONS_DEFINE_amd64=3D	BHYVE
> > >  OPTIONS_DEFAULT_amd64=3D	BHYVE
> > >  .endif
> > >  QEMU_DESC=3D	QEMU driver
> > > @@ -36,8 +36,6 @@ QEMU_LIB_DEPENDS=3D	libyajl.so:${PORTSDIR}
> > >  QEMU_RUN_DEPENDS=3D	dmidecode:${PORTSDIR}/sysutils/dmidecode \
> > >  			qemu-io:${PORTSDIR}/emulators/qemu-devel
> > > =20
> > > -BHYVE_CONFIGURE_WITH=3D	bhyve
> > > -
> > >  NLS_USES=3D	gettext
> > >  NLS_CONFIGURE_ENABLE=3D	nls
> > >  NLS_CONFIGURE_ON=3D	--with-libintl-prefix=3D${LOCALBASE}
> > > @@ -82,13 +80,15 @@ PORTDOCS=3D	*
> > > =20
> > >  .include <bsd.port.options.mk>
> > > =20
> > > -#work around an options bug (thanks mat@)
> > > -.if ${ARCH} !=3D amd64
> > > -PLIST_SUB+=3D	BHYVE=3D"@comment "
> > > +.if (exists(/usr/sbin/bhyve) && ${OSVERSION} >=3D 100051)
> >                                                    ^^^^^^
> > I think you've missed a digit here. This condition is always true.
>=20
> Oh, well, this check actually looks a little strange.
>=20
> I think it's fine to hide the BHYVE option if /usr/sbin/bhyve is not
> defined. However, later we should not check it again, as well as
> OSVERSION, and just set proper CONFIGURE_ARGS based on the option value.
>=20
> I'll fix it soon (tomorrow or this weekend).
>=20

Hi,

I have a fix, though I'm not sure if it's the best way to do things:

https://reviews.freebsd.org/D4109

Reviews appreciated.

Roman Bogorodskiy

--KdquIMZPjGJQvRdI
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJWP31rAAoJEMltX/4IwiJqQO4IALb0mtaf1lByUZspXqWAgoUK
MiCslVnZsaNGu94ZVA2Up1Pe3dstghpcOoNCUMniB0P6W3H9TfLZpPHfqiYAt0s2
3CaoWMdsJFwidt1PCLVssi3v8ywxn6hPLvuUPZNfMx5SK233KCf5DSMAQ8H32Lzc
3kOW3ukwlSPf8BK/jExUNzu1unZZOrhsa/J/DeEV05ylXtbopxJlkqsvBP+KBjqm
MsYpOT936eORT87mggd3ve6R6c39cfWUm99jSq3NOvCR4mU5vSsyPvVANu6VFPXB
3O2Rd26DUN0gPieXM66EHzd5E2esnBAp9Xh76zaA+k9K+GqwAF6RyRuM4K7IdHg=
=PMCt
-----END PGP SIGNATURE-----

--KdquIMZPjGJQvRdI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151108165051.GD2188>