From 0a7032399baf77dbf865cc0ba32afd22ffb503e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 7 Feb 2017 12:56:11 +0100 Subject: [PATCH] libcap: fix hostmakedepends hostmakedepends on perl when not bootstrapping and on gperf when not cross compiling. --- srcpkgs/libcap/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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