From fbd7499460f0269252dfe21b0d7da3881d60bb16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Wed, 18 Dec 2013 15:17:09 +0000 Subject: main/libvirt: compile against libtirpc (fixes musl build) --- main/libvirt/APKBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'main/libvirt/APKBUILD') diff --git a/main/libvirt/APKBUILD b/main/libvirt/APKBUILD index 5db2340b47..e1141dc596 100644 --- a/main/libvirt/APKBUILD +++ b/main/libvirt/APKBUILD @@ -2,7 +2,7 @@ pkgname=libvirt pkgver=1.2.0 _ver="${pkgver/_rc/-rc}" -pkgrel=0 +pkgrel=1 pkgdesc="A virtualization API for several hypervisor and container systems" url="http://libvirt.org/" arch="all" @@ -15,7 +15,7 @@ makedepends="augeas-dev bridge-utils cyrus-sasl-dev device-mapper netcf-dev libnl-dev libxml2-dev libxslt-dev libtasn1-dev lvm2-dev lxc-dev gnutls-dev libgcrypt-dev parted-dev perl pkgconfig udev-dev zlib-dev yajl-dev libpcap-dev curl-dev libpciaccess-dev - polkit-dev readline-dev + polkit-dev readline-dev libtirpc-dev $_daemon_deps $_client_deps " install="$pkgname.post-install" @@ -57,7 +57,8 @@ prepare() { build() { cd "$_builddir" - export LDFLAGS="$LDFLAGS -lm" + export CFLAGS="$CFLAGS `pkgconf --cflags libtirpc`" + export LDFLAGS="$LDFLAGS -lm `pkgconf --libs libtirpc`" local _xen_opt= if [ "$CARCH" = x86_64 ]; then _xen_opt="--with-libxl" -- cgit v1.2.3