xbps-src: require automake, libtool and pkg-config in the host for bootstrap.
This fixes bootstrapping of libarchive. Close #4516.
This commit is contained in:
parent
cf946a4021
commit
a5e248c730
2 changed files with 5 additions and 2 deletions
|
@ -8,7 +8,6 @@ configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)
|
||||||
$(vopt_with expat) $(vopt_with lzo lzo2) $(vopt_with lz4)
|
$(vopt_with expat) $(vopt_with lzo lzo2) $(vopt_with lz4)
|
||||||
$(vopt_with ssl openssl) --without-xml2 --without-nettle
|
$(vopt_with ssl openssl) --without-xml2 --without-nettle
|
||||||
--disable-rpath ac_cv_func_lchmod=no"
|
--disable-rpath ac_cv_func_lchmod=no"
|
||||||
hostmakedepends="automake libtool pkg-config"
|
|
||||||
makedepends="zlib-devel bzip2-devel liblzma-devel
|
makedepends="zlib-devel bzip2-devel liblzma-devel
|
||||||
$(vopt_if acl acl-devel) $(vopt_if expat expat-devel)
|
$(vopt_if acl acl-devel) $(vopt_if expat expat-devel)
|
||||||
$(vopt_if lzo lzo-devel) $(vopt_if lz4 lz4-devel) $(vopt_if ssl libressl-devel)"
|
$(vopt_if lzo lzo-devel) $(vopt_if lz4 lz4-devel) $(vopt_if ssl libressl-devel)"
|
||||||
|
@ -24,6 +23,10 @@ build_options="acl expat lzo lz4 ssl"
|
||||||
# Enable acl and ssl by default.
|
# Enable acl and ssl by default.
|
||||||
build_options_default="acl ssl"
|
build_options_default="acl ssl"
|
||||||
|
|
||||||
|
if [ "$CHROOT_READY" ]; then
|
||||||
|
hostmakedepends="automake libtool pkg-config"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -if
|
autoreconf -if
|
||||||
}
|
}
|
||||||
|
|
2
xbps-src
2
xbps-src
|
@ -446,7 +446,7 @@ umask 022
|
||||||
#
|
#
|
||||||
# Required utilities in host system for the bootstrap target.
|
# Required utilities in host system for the bootstrap target.
|
||||||
readonly REQHOST_UTILS_BOOTSTRAP="make gawk bash bison sed gcc g++ msgfmt makeinfo \
|
readonly REQHOST_UTILS_BOOTSTRAP="make gawk bash bison sed gcc g++ msgfmt makeinfo \
|
||||||
perl tar xz gzip bzip2 patch flex"
|
perl tar xz gzip bzip2 patch flex automake libtool pkg-config"
|
||||||
|
|
||||||
# Required utilities in host system for chroot ops.
|
# Required utilities in host system for chroot ops.
|
||||||
readonly REQHOST_UTILS="xbps-install xbps-query xbps-rindex xbps-uhelper \
|
readonly REQHOST_UTILS="xbps-install xbps-query xbps-rindex xbps-uhelper \
|
||||||
|
|
Loading…
Reference in a new issue