FS#47149 - [patch] makepkg should not warn about dependency checks when used with -o/--nobuild
|
Details
Summary and Info:
When used with -d/--nodeps, makepkg raise the following warning: "WARNING: Skipping dependency checks." According a comment in makepkg's source code (https://projects.archlinux.org/pacman.git/tree/scripts/makepkg.sh.in?h=v4.2.1#n3605), makepkg's developers planned to hide this warning when makepkg is used with -o/--nobuild. Indeed, this warning loses its meaning in this case and it could be misleading (full story here: https://github.com/archlinuxfr/yaourt/issues/155). Please find attached a trivial patch which should do the trick. |
This task depends upon
See
FS#35057andFS#36999i.e:
if (( NODEPS && ( ! NOBUILD || PREPAREFUNC ) )); then
warning "$(gettext "Skipping dependency checks.")"
fi