On 2010-05-07 at 05:25:25 [+0200], scott mc <scottmc2@xxxxxxxxx> wrote: > Author: scottmc > Date: 2010-05-07 05:25:25 +0200 (Fri, 07 May 2010) > New Revision: 36702 > Changeset: http://dev.haiku-os.org/changeset/36702/haiku > > Modified: > haiku/trunk/build/jam/OptionalPackageDependencies > Log: > Sorted OptionalPackageDependencies into alphabetical order except where a > package has a dependency, in which case that dependency was inserted on the > line before it. The jam rules are order-agnostic (since r35867). OptionalPackageDependencies calls AddOptionalHaikuImagePackages for the added dependencies, if the dependent package was already added and AddOptionalHaikuImagePackages recursively invokes itself for all dependencies. So fully alphabetical order would work as well. Maybe even better we could move the dependency declarations to the definitions of the respective optional packages. CU, Ingo