From 325d297739133de9f17619d9e030c6051748230a Mon Sep 17 00:00:00 2001
From: Aurelien Foret <aurelien@archlinux.org>
Date: Tue, 10 Jan 2006 18:45:32 +0000
Subject: made use of the new ALLDEPS transaction flag to handle "makepkg -s"

---
 src/pacman/pacman.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src')

diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index e1dff655..aa1e0d4e 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -321,6 +321,7 @@ int parseargs(int argc, char *argv[])
 			case 'D':
 				config->op = (config->op != PM_OP_MAIN ? 0 : PM_OP_DEPTEST);
 				config->op_d_resolve = 1;
+				config->flags |= PM_TRANS_FLAG_ALLDEPS;
 			break;
 			case 'F':
 				config->op = (config->op != PM_OP_MAIN ? 0 : PM_OP_UPGRADE);
-- 
cgit v1.2.3-70-g09d2