makepkg: install deps with --repackage
I have noticed that quite a number of packages fail with "makepkg -R" when their (make)dependencies are not installed. Adjust makepkg to check for dependencies when used with -R. This can still be avoided by using --nodeps/-d. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
d310b6f85c
commit
81dd6ddf0c
|
@ -2424,9 +2424,9 @@ if (( SOURCEONLY )); then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
if (( NODEPS || ( (NOBUILD || REPKG) && !DEP_BIN ) )); then
|
||||
# no warning message needed for nobuild, repkg
|
||||
if (( NODEPS || ( REPKG && PKGFUNC ) )); then
|
||||
if (( NODEPS || (NOBUILD && !DEP_BIN ) )); then
|
||||
# no warning message needed for nobuild
|
||||
if (( NODEPS )); then
|
||||
warning "$(gettext "Skipping dependency checks.")"
|
||||
fi
|
||||
elif type -p "${PACMAN%% *}" >/dev/null; then
|
||||
|
|
Loading…
Reference in New Issue