From c73bc73be2bbb887263fb4880221464ec26cd9df Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 25 May 2021 23:04:17 +0200 Subject: [PATCH] chroot-distcc: unbreak bootstrap --- srcpkgs/chroot-distcc/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/chroot-distcc/template b/srcpkgs/chroot-distcc/template index 438131e14e..bb4e619839 100644 --- a/srcpkgs/chroot-distcc/template +++ b/srcpkgs/chroot-distcc/template @@ -8,7 +8,6 @@ build_style=gnu-configure configure_args="--with-included-popt --without-avahi --without-gnome --without-gtk --disable-Werror --disable-pump-mode --without-libiberty" make_install_target=install-programs -makedepends="binutils-devel" short_desc="Distributed compilation for faster C/C++ builds -- for xbps-src use" maintainer="Enno Boland " license="GPL-2.0-or-later" @@ -19,6 +18,10 @@ checksum=bead25471d5a53ecfdf8f065a6fe48901c14d5008956c318c700e56bc87bf0bc conflicts="distcc>=0" CFLAGS="-fcommon" +if [ "$CHROOT_READY" ]; then + makedepends="binutils-devel" +fi + pre_configure() { # Copy files generated by package distcc running autogen.sh # Manual update is required for every new version