libvirt: fix !x86_64 builds.

This commit is contained in:
Juan RP 2014-10-27 17:37:28 +01:00
parent 462952c7d4
commit 22654c1740

View File

@ -23,9 +23,12 @@ makedepends="readline-devel>=6.3 libcap-ng-devel libnl3-devel attr-devel
libpciaccess-devel avahi-libs-devel polkit-devel yajl-devel
python-devel libssh2-devel libcap-ng-devel fuse-devel"
if [ "$XBPS_MACHINE" = "i686" -o "$XBPS_MACHINE" = "x86_64" ]; then
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
configure_args+=" --with-xen"
makedepends+=" libnuma-devel xen-devel"
elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
configure_args+=" --without-xen"
makedepends+=" libnuma-devel"
else
configure_args+=" --without-xen"
fi