[pacman-dev] [PATCH] makepkg: Always resolve dependencies When --syncdeps is explicitly passed

Nezmer git at nezmer.info
Mon May 10 15:30:09 EDT 2010


This change makes sense for me in general. The use-case I ran into was
needing the dependencies when repackaging.

Signed-off-by: Nezmer <git at nezmer.info>
---
 scripts/makepkg.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index a2db90b..34261b5 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1867,7 +1867,7 @@ if (( SOURCEONLY )); then
 fi
 
 # fix flyspray bug #5973
-if (( NODEPS || NOBUILD || REPKG )); then
+if (( (NODEPS || NOBUILD || REPKG) && ! DEP_BIN )); then
 	# no warning message needed for nobuild, repkg
 	if (( NODEPS )); then
 		warning "$(gettext "Skipping dependency checks.")"
-- 
1.7.0.4



More information about the pacman-dev mailing list