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,10 +268,18 @@ 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 [ -z "$pkglist" ]; then
|
||||
pkglist="\"${i}\""
|
||||
if [ "${notinstalled_deps}" = "${build_depends}" ]; then
|
||||
if [ -z "$pkglist" ]; then
|
||||
pkglist="\"${i}\""
|
||||
else
|
||||
pkglist="${pkglist} \"${i}\""
|
||||
fi
|
||||
else
|
||||
pkglist="${pkglist} \"${i}\""
|
||||
if [ -z "$pkglist" ]; then
|
||||
pkglist="${i}"
|
||||
else
|
||||
pkglist="${pkglist} ${i}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
install_pkglist_from_repos "${pkglist}"
|
||||
|
|
Loading…
Reference in a new issue