[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / misc / py-anita

File: [cvs.NetBSD.org] / pkgsrc / misc / py-anita / options.mk (download)

Revision 1.10, Sun Nov 3 17:04:26 2019 UTC (4 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.9: +2 -2 lines

misc: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.

# $NetBSD: options.mk,v 1.10 2019/11/03 17:04:26 rillig Exp $


# To run (but not to build), anita needs some way to run a virtual
# machine.  The standard approach is qemu-0, because it is known to
# work.  Newer qemu is problematic.  xen also works, but is less well
# tested.  See anita(1) for details of the above.

# By default, py-anita does not depend on any of these, because a
# hypervisor one doesn't want to use is a large burden (qemu in
# particular is very large).  While these options can be enabled, they
# also serve to document ways to fulfill the hypervisor requirement.

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mqemu)
# Some versions of qemu1/2 do not work reliably, see the anita(1)
# man page.  Version 2.0.0nb4 or newer should work.
DEPENDS+=	qemu>=1.0:../../emulators/qemu

.if !empty(PKG_OPTIONS:Mxen)
DEPENDS+=	xenkernel42>=4.2:../../sysutils/xenkernel42
DEPENDS+=	xentools42>=4.2:../../sysutils/xentools42