]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
* fix various -Wall warnings
[apt.git] / cmdline / apt-get.cc
index 278404938f989540bf3c546da16dcf1a5a6756cd..bc9828db1e46e9ab500f4b208ff0184a88e87b15 100644 (file)
@@ -2540,6 +2540,8 @@ bool DoBuildDep(CommandLine &CmdL)
             {
                // We successfully installed something; skip remaining alternatives
                skipAlternatives = hasAlternatives;
             {
                // We successfully installed something; skip remaining alternatives
                skipAlternatives = hasAlternatives;
+              if(_config->FindB("APT::Get::Build-Dep-Automatic", true) == true)
+                 Cache->MarkAuto(Pkg, true);
                continue;
             }
             else if (hasAlternatives)
                continue;
             }
             else if (hasAlternatives)