xbps: add glibc-2.22 dependency.

xbps needs some symbols from glibc-2.22, otherwise it fails to run.
fixes https://github.com/voidlinux/xbps/issues/124.
This commit is contained in:
Enno Boland 2015-10-30 09:29:59 +01:00
parent 12d359b133
commit 6d62c6ebf1

View file

@ -1,7 +1,7 @@
# Template file for 'xbps'
pkgname=xbps
version=0.47
revision=4
revision=5
bootstrap=yes
build_style=configure
short_desc="The XBPS package system utilities"
@ -14,6 +14,11 @@ checksum=34d8b69c006330426fcd00240f7d53425c5581d0635e18f7dfef55e1f7a917d2
hostmakedepends="pkg-config"
makedepends="zlib-devel libressl-devel libarchive-devel"
depends="xbps-triggers"
# xbps needs symbols from glibc-2.22
case "$XBPS_TARGET_MACHINE" in
*-musl) : ;;
*) depends+=" glibc>=2.22" ;;
esac
if [ "$CHROOT_READY" ]; then
makedepends+=" atf-devel"