Browse Source

* Try to fix plugins as fast as possible, so that as many packages
are compiled with the plugins

git-svn-id: trunk@35698 -

joost 8 years ago
parent
commit
a3f43a3661
1 changed files with 8 additions and 1 deletions
  1. 8 1
      packages/fppkg/src/pkgfppkg.pp

+ 8 - 1
packages/fppkg/src/pkgfppkg.pp

@@ -669,7 +669,14 @@ begin
               begin
                 P := Repo.Packages[j];
                 if (P = FindPackage(P.Name, pkgpkInstalled)) and PackageIsBroken(P, nil) then
-                  SL.Add(P.Name);
+                  begin
+                    if P.IsFPMakeAddIn then
+                      // Make sure that FPMakeAddIn's are fixed first, so
+                      // as much packages are compiled with them.
+                      SL.Insert(0, P.Name)
+                    else
+                      SL.Add(P.Name);
+                  end;
               end;
           end;
       end;