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