xbps-src: even more fixes for binpkg deps.
This commit is contained in:
parent
37967a549d
commit
843697acd6
1 changed files with 11 additions and 3 deletions
|
@ -268,11 +268,19 @@ install_dependencies_pkg()
|
|||
if [ -n "$XBPS_PREFER_BINPKG_DEPS" -a -z "$bootstrap" ]; then
|
||||
msg_normal "$pkgver: installing dependencies from repositories ...\n"
|
||||
for i in ${notinstalled_deps}; do
|
||||
if [ "${notinstalled_deps}" = "${build_depends}" ]; then
|
||||
if [ -z "$pkglist" ]; then
|
||||
pkglist="\"${i}\""
|
||||
else
|
||||
pkglist="${pkglist} \"${i}\""
|
||||
fi
|
||||
else
|
||||
if [ -z "$pkglist" ]; then
|
||||
pkglist="${i}"
|
||||
else
|
||||
pkglist="${pkglist} ${i}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
install_pkglist_from_repos "${pkglist}"
|
||||
if [ $? -eq 0 ]; then
|
||||
|
|
Loading…
Reference in a new issue