libvirt: use rpcsvc-proto unconditionally.

This commit is contained in:
Leah Neukirchen 2021-01-05 23:00:04 +01:00
parent d5e9b395a3
commit fe29f3551a
1 changed files with 5 additions and 7 deletions

View File

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