libvirt: enable xen support on musl; rebuild against xen-4.7.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'libvirt'
|
# Template file for 'libvirt'
|
||||||
pkgname=libvirt
|
pkgname=libvirt
|
||||||
version=2.0.0
|
version=2.0.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-hal --with-storage-lvm --with-qemu-user=libvirt
|
configure_args="--without-hal --with-storage-lvm --with-qemu-user=libvirt
|
||||||
--with-qemu-group=libvirt --without-netcf --with-interface --disable-static"
|
--with-qemu-group=libvirt --without-netcf --with-interface --disable-static"
|
||||||
@@ -27,8 +27,7 @@ depends="ebtables dnsmasq"
|
|||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*) configure_args+=" --without-xen"; makedepends+=" libnuma-devel";;
|
i686*) configure_args+=" --without-xen"; makedepends+=" libnuma-devel";;
|
||||||
x86_64) configure_args+=" --with-xen"; makedepends+=" libnuma-devel xen-devel";;
|
x86_64*) configure_args+=" --with-xen"; makedepends+=" libnuma-devel xen-devel";;
|
||||||
x86_64-musl) configure_args+=" --without-xen"; makedepends+=" libnuma-devel";;
|
|
||||||
*) configure_args+=" --without-xen";;
|
*) configure_args+=" --without-xen";;
|
||||||
esac
|
esac
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
|||||||
Reference in New Issue
Block a user