xbps-src: install dependencies with -U (--unpack-only).

This should result in a considerable performance improvement, because the
expensive configuration phase of all dependencies is skipped.

Hopefully this does not introduce build issues :-)
This commit is contained in:
Juan RP 2015-06-07 12:06:55 +02:00
parent ff1a547ee2
commit 8d2226deba
1 changed files with 2 additions and 2 deletions

View File

@ -88,9 +88,9 @@ install_pkg_from_repos() {
tmplogf=${XBPS_STATEDIR}/xbps_${XBPS_TARGET_MACHINE}_bdep_${pkg}.log
if [ -n "$cross" ]; then
$XBPS_INSTALL_XCMD -Ayd "$pkg" >$tmplogf 2>&1
$XBPS_INSTALL_XCMD -UAyd "$pkg" >$tmplogf 2>&1
else
$XBPS_INSTALL_CMD -Ayd "$pkg" >$tmplogf 2>&1
$XBPS_INSTALL_CMD -UAyd "$pkg" >$tmplogf 2>&1
fi
rval=$?
if [ $rval -ne 0 -a $rval -ne 17 ]; then