diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/libvirt/APKBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/main/libvirt/APKBUILD b/main/libvirt/APKBUILD index 5db2340b4..e1141dc59 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" |