make: add to hostmakedepends only if chroot ready

If bootstrapping the dependencies automake, gettext-devel, and pkg-config
are required to be installed in the builder's host environment.

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-10-24 17:47:59 +02:00
parent 7346810604
commit f24a9b9aa1
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,9 @@ distfiles="${GNU_SITE}/make/${pkgname}-${version}.tar.bz2"
checksum=d6e262bf3601b42d2b1e4ef8310029e1dcf20083c5446b4b7aa67081fdffc589
# This should be temporary until upstream releases a new version with fixes
hostmakedepends+=" automake gettext-devel pkg-config"
if [ -n "$CHROOT_READY" ]; then
hostmakedepends+=" automake gettext-devel pkg-config"
fi
pre_configure() {
autoreconf -fi
}