shutils/build_dependencies.sh: non-recursive check
In #54633 this was implemented for host dependencies.
Here we do the same for target and runtime dependencies.
See 3832128a0a
This commit is contained in:
committed by
Andrew J. Hesford
parent
d46a5d1012
commit
751f08eec6
@@ -399,6 +399,8 @@ install_pkg_deps() {
|
||||
|
||||
curpkgdepname=$($XBPS_UHELPER_CMD getpkgname "$i" 2>/dev/null)
|
||||
setup_pkg $curpkgdepname $cross
|
||||
# do not check when building dependencies, except for "full" (-K)
|
||||
[ "$XBPS_CHECK_PKGS" == full ] || unset XBPS_CHECK_PKGS
|
||||
exec env XBPS_DEPENDENCY=1 XBPS_BINPKG_EXISTS=1 XBPS_DEPENDS_CHAIN="$XBPS_DEPENDS_CHAIN, $sourcepkg(${cross:-host})" \
|
||||
$XBPS_LIBEXECDIR/build.sh $sourcepkg $pkg $target $cross $cross_prepare || exit $?
|
||||
) || exit $?
|
||||
@@ -417,6 +419,8 @@ install_pkg_deps() {
|
||||
fi
|
||||
fi
|
||||
setup_pkg $curpkgdepname $cross
|
||||
# do not check when building dependencies, except for "full" (-K)
|
||||
[ "$XBPS_CHECK_PKGS" == full ] || unset XBPS_CHECK_PKGS
|
||||
exec env XBPS_DEPENDENCY=1 XBPS_BINPKG_EXISTS=1 XBPS_DEPENDS_CHAIN="$XBPS_DEPENDS_CHAIN, $sourcepkg(${cross:-host})" \
|
||||
$XBPS_LIBEXECDIR/build.sh $sourcepkg $pkg $target $cross $cross_prepare || exit $?
|
||||
) || exit $?
|
||||
|
||||
Reference in New Issue
Block a user