ffeca82a68
In options.mk, there was a reference to Xen 4.2 which is no longer in pkgsrc. Update it to 4.13.
30 lines
1.1 KiB
Makefile
30 lines
1.1 KiB
Makefile
# $NetBSD: options.mk,v 1.11 2020/11/07 11:11:24 gson Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.py-anita
|
|
PKG_SUPPORTED_OPTIONS= xen
|
|
PKG_OPTIONS_OPTIONAL_GROUPS= qemu
|
|
PKG_OPTIONS_GROUP.qemu= qemu
|
|
PKG_SUGGESTED_OPTIONS=
|
|
|
|
# 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
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mxen)
|
|
DEPENDS+= xenkernel413>=4.2:../../sysutils/xenkernel413
|
|
DEPENDS+= xentools413>=4.2:../../sysutils/xentools413
|
|
.endif
|