xbps-src: fix remaining issues with -N and -a.

This commit is contained in:
Juan RP 2015-03-23 16:05:17 +01:00
parent f51cc018e8
commit a86b30ba05
3 changed files with 18 additions and 25 deletions

View file

@ -29,10 +29,9 @@ show_pkg_build_options
check_pkg_arch $XBPS_CROSS_BUILD
if [ -z "$XBPS_CROSS_PREPARE" ]; then
install_cross_pkg $XBPS_CROSS_BUILD || exit $?
prepare_cross_sysroot $XBPS_CROSS_BUILD || exit $?
install_cross_pkg $XBPS_CROSS_BUILD
prepare_cross_sysroot $XBPS_CROSS_BUILD
fi
# Install dependencies from binary packages
if [ "$PKGNAME" != "$TARGET_PKG" -o -z "$XBPS_SKIP_DEPS" ]; then
install_pkg_deps $PKGNAME $TARGET_PKG pkg $XBPS_CROSS_BUILD $XBPS_CROSS_PREPARE || exit $?