changes (CPUSTATES/etc). Last part. - some of these might be in code that's not actually built or rarely used but it's not worth the hassle evaluating that, i'm just bumping & moving on. - as mentioned before, there might still be runtime problems relating to the addition or renumbering.
63 lines
1.7 KiB
Makefile
63 lines
1.7 KiB
Makefile
# $OpenBSD: Makefile,v 1.60 2018/06/01 15:44:28 sthen Exp $
|
|
|
|
COMMENT= tool/library for managing platform virtualization
|
|
|
|
DISTNAME= libvirt-1.3.5
|
|
REVISION= 6
|
|
CATEGORIES= sysutils devel
|
|
|
|
SHARED_LIBS += virt-qemu 0.4 # 1003.0
|
|
SHARED_LIBS += virt 0.8 # 1003.0
|
|
SHARED_LIBS += virt-lxc 0.0 # 1003.0
|
|
SHARED_LIBS += virt-admin 0.0 # 1003.0
|
|
|
|
HOMEPAGE= https://libvirt.org/
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/sources/ \
|
|
${HOMEPAGE}/sources/stable_updates/
|
|
|
|
# LGPLv2.1
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB = avahi-client avahi-common c crypto curl dbus-1 ffi gmp gnutls
|
|
WANTLIB += hogweed iconv idn2 intl lzma m ncurses nettle nghttp2 p11-kit
|
|
WANTLIB += pthread readline ssh2 ssl tasn1 unistring util xml2 z
|
|
|
|
MODULES= lang/python
|
|
|
|
MODPY_RUNDEP= No
|
|
|
|
BUILD_DEPENDS= textproc/docbook \
|
|
textproc/docbook2x
|
|
|
|
LIB_DEPENDS= net/avahi \
|
|
net/curl \
|
|
security/gnutls \
|
|
security/libssh2 \
|
|
textproc/libxml
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --with-avahi \
|
|
--with-ssh2 \
|
|
--without-yajl \
|
|
--without-netcf \
|
|
--without-network \
|
|
--without-login-shell \
|
|
--without-wireshark-dissector
|
|
# OpenBSD can't act as a virtualization host, so no need for libvirtd.
|
|
# If support is added, subtitute /var/lib/{xen,virt,libvirt,...} with /var/db
|
|
CONFIGURE_ARGS+= --without-libvirtd
|
|
|
|
FAKE_FLAGS= confdir=${PREFIX}/share/examples/libvirt \
|
|
DOCS_DIR=${PREFIX}/share/doc/libvirt/python \
|
|
EXAMPLE_DIR=${PREFIX}/share/doc/libvirt/python/examples \
|
|
HTML_DIR=${PREFIX}/share/doc/libvirt/html
|
|
|
|
# nwfilters are only used by libvirtd, which is (currently) disabled on OpenBSD
|
|
FAKE_FLAGS+= NWFILTER_DIR=${TMPDIR} \
|
|
FILTERS=""
|
|
|
|
.include <bsd.port.mk>
|