Source
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup compiler_blacklist_versions 1.0
# Remember to update libvirt and py-libvirt at the same time.
name libvirt
version 5.9.0
revision 0
checksums rmd160 840c27c5523f42b878302136defffd8064b7ac4c \
sha256 3496d2e1d988185de013b2a9d2e8824458afd85aa7cd050283a59b3d78978939 \
size 12394784
categories sysutils
license LGPL-2.1+
platforms darwin
maintainers {ryandesign @ryandesign} {danchr @danchr} openmaintainer
description Libvirt - The Virtualization API
long_description A toolkit to interact with the virtualization \
capabilities of modern hypervisors.
homepage https://libvirt.org
master_sites ${homepage}/sources/
use_xz yes
depends_build port:pkgconfig \
port:bash-completion \
port:python27 \
port:perl5
depends_lib port:curl \
port:libiconv \
port:libxml2 \
port:readline \
port:yajl \
port:zlib
# see https://trac.macports.org/ticket/58726
compiler.blacklist-append apple-gcc* gcc-3.3 *gcc-4.* {clang < 425}
# libvirt build scripts work with python 2.x only
configure.python ${prefix}/bin/python2.7
configure.perl ${prefix}/bin/perl5
configure.args --disable-silent-rules \
--enable-debug \
--without-apparmor \
--without-attr \
--without-audit \
--without-avahi \
--with-bash-completion \
--with-bash-completions-dir=${prefix}/share/bash-completion/completions \
--without-bhyve \
--without-blkid \
--without-capng \
--with-curl \
--without-dbus \
--with-driver-modules \
--without-dtrace \
--with-esx \
--without-fuse \