libvirt: use rpcsvc-proto unconditionally.

This commit is contained in:
Leah Neukirchen 2021-01-05 23:00:04 +01:00
parent d5e9b395a3
commit fe29f3551a

View file

@ -1,11 +1,12 @@
# Template file for 'libvirt'
pkgname=libvirt
version=6.10.0
revision=2
revision=3
build_style=meson
configure_args="-Dqemu_user=libvirt -Dqemu_group=libvirt -Drunstatedir=/run"
hostmakedepends="automake libtool perl pkg-config lvm2 parted gettext-devel
iptables libxslt docbook-xsl dnsmasq libapparmor-devel python3-docutils gettext"
hostmakedepends="automake dnsmasq docbook-xsl gettext gettext-devel iptables
libapparmor-devel libtool libxslt lvm2 parted perl pkg-config python3-docutils
rpcsvc-proto"
makedepends="readline-devel libcap-ng-devel attr-devel gnutls-devel
libsasl-devel libcurl-devel libpcap-devel libxml2-devel libparted-devel
device-mapper-devel eudev-libudev-devel libblkid-devel libpciaccess-devel
@ -31,10 +32,7 @@ case "$XBPS_TARGET_MACHINE" in
esac
case "$XBPS_TARGET_MACHINE" in
*-musl)
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tirpc"
hostmakedepends+=" rpcsvc-proto"
;;
*-musl) ;;
*)
# LTO apparently causes the linker to confuse the glibc symbol
# xdr_int64_t with that provided by libtirpc, causing a crash.