libcap: unbreak bootstrap

Closes #5691
This commit is contained in:
Jürgen Buchmüller 2017-02-07 12:04:19 +01:00
parent cb08a55c14
commit a52cfa8ea1

View file

@ -3,7 +3,6 @@ pkgname=libcap
version=2.25
revision=1
bootstrap=yes
hostmakedepends="perl"
makedepends="attr-devel"
short_desc="POSIX.1e capabilities suite"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -12,8 +11,11 @@ license="GPL-2"
distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/$pkgname-$version.tar.xz"
checksum=693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162
if [ -z "$CROSS_BUILD" -a "$CHROOT_READY" ]; then
if [ "$CHROOT_READY" ]; then
hostmakedepends="gperf"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" perl"
fi
fi
do_configure() {