diff --git a/srcpkgs/libcap/template b/srcpkgs/libcap/template index 7745f534e6c..9c9882349c0 100644 --- a/srcpkgs/libcap/template +++ b/srcpkgs/libcap/template @@ -12,9 +12,9 @@ distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/$pkgname-$version.ta checksum=693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162 if [ "$CHROOT_READY" ]; then - hostmakedepends="gperf" - if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" perl" + hostmakedepends="perl" + if [ -z "$CROSS_BUILD" ]; then + hostmakedepends+=" gperf" fi fi