shutils/builddep_func.sh: use msg_* funcs.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20091015140610-nps2cphr0zvxvltg
This commit is contained in:
parent
e056e23be1
commit
d75b195143
@ -43,21 +43,21 @@ install_pkg_deps()
|
||||
curpkgname=$(xbps-pkgdb getpkgname ${curpkg})
|
||||
fi
|
||||
|
||||
echo "==> Installing $saved_prevpkg dependency: $curpkgname."
|
||||
msg_normal "Installing $saved_prevpkg dependency: $curpkgname."
|
||||
|
||||
run_template $curpkgname
|
||||
check_build_depends_pkg
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "==> Dependency $curpkgname requires:"
|
||||
msg_normal "Dependency $curpkgname requires:"
|
||||
for j in ${build_depends}; do
|
||||
jname=$(xbps-pkgdb getpkgname ${j})
|
||||
jver=$($XBPS_REGPKGDB_CMD version ${jname})
|
||||
reqver=$(xbps-pkgdb getpkgversion ${j})
|
||||
check_installed_pkg $j
|
||||
if [ $? -eq 0 ]; then
|
||||
echo " $jname >= $reqver: found $jname-$jver."
|
||||
echo " $jname >= $reqver: found $jname-$jver."
|
||||
else
|
||||
echo " $jname >= $reqver: not found."
|
||||
echo " $jname >= $reqver: not found."
|
||||
fi
|
||||
done
|
||||
fi
|
||||
@ -101,7 +101,7 @@ install_dependencies_pkg()
|
||||
lver="${version}"
|
||||
fi
|
||||
|
||||
echo "==> Required build dependencies for $pkgname-$lver... "
|
||||
msg_normal "Required build dependencies for $pkgname-$lver... "
|
||||
for i in ${build_depends}; do
|
||||
ipkgname=$(xbps-pkgdb getpkgname ${i})
|
||||
iversion=$($XBPS_REGPKGDB_CMD version $ipkgname)
|
||||
|
Loading…
Reference in New Issue
Block a user