xbps-src: even more fixes for binpkg deps.

This commit is contained in:
Juan RP 2011-10-05 10:30:15 +02:00
parent 37967a549d
commit 843697acd6
1 changed files with 11 additions and 3 deletions

View File

@ -268,10 +268,18 @@ install_dependencies_pkg()
if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$bootstrap" ]; then if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$bootstrap" ]; then
msg_normal "$pkgver: installing dependencies from repositories ...\n" msg_normal "$pkgver: installing dependencies from repositories ...\n"
for i in ${notinstalled_deps}; do for i in ${notinstalled_deps}; do
if [ -z "$pkglist" ]; then if [ "${notinstalled_deps}" = "${build_depends}" ]; then
pkglist="\"${i}\"" if [ -z "$pkglist" ]; then
pkglist="\"${i}\""
else
pkglist="${pkglist} \"${i}\""
fi
else else
pkglist="${pkglist} \"${i}\"" if [ -z "$pkglist" ]; then
pkglist="${i}"
else
pkglist="${pkglist} ${i}"
fi
fi fi
done done
install_pkglist_from_repos "${pkglist}" install_pkglist_from_repos "${pkglist}"