xbps-src: install_pkg_deps: restore previous behaviour.

Don't msg_error if a dependency failed to build, maybe
due to broken or nocross.
This commit is contained in:
Juan RP 2020-01-05 10:48:13 +01:00
parent b2b0409be4
commit 12f676e6f2
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368
1 changed files with 3 additions and 3 deletions

View File

@ -361,7 +361,7 @@ install_pkg_deps() {
setup_pkg $curpkgdepname
exec env XBPS_DEPENDENCY=1 XBPS_BINPKG_EXISTS=1 \
$XBPS_LIBEXECDIR/build.sh $sourcepkg $pkg $target $cross_prepare || exit $?
) || msg_error "xbps-src: failed to build host dependency '$i' ($?)\n"
) || exit $?
host_binpkg_deps+=("$i")
done
@ -374,7 +374,7 @@ install_pkg_deps() {
setup_pkg $curpkgdepname $cross
exec env XBPS_DEPENDENCY=1 XBPS_BINPKG_EXISTS=1 \
$XBPS_LIBEXECDIR/build.sh $sourcepkg $pkg $target $cross $cross_prepare || exit $?
) || msg_error "xbps-src: failed to build target dependency '$i' ($?)\n"
) || exit $?
binpkg_deps+=("$i")
done
@ -392,7 +392,7 @@ install_pkg_deps() {
setup_pkg $curpkgdepname $cross
exec env XBPS_DEPENDENCY=1 XBPS_BINPKG_EXISTS=1 \
$XBPS_LIBEXECDIR/build.sh $sourcepkg $pkg $target $cross $cross_prepare || exit $?
) || msg_error "xbps-src: failed to build target dependency '$i' ($?)\n"
) || exit $?
done
if [[ ${host_binpkg_deps} ]]; then