mmatuska/mfsbsd — pull request #42 by sega01 (2014-09-20 01:18:03+00:00)
Title: Fix adding packages that depend on eachother in a non-ASCIIbetical sort

pkg add fails on packages that don't have dependencies met. Say you have these packages:

A, depends on nothing
B, depends on nothing
C, depends on B
D, depends on E
E, depends on nothing

The current process involves going ASCIIbetically and pkg add'ing them one by one.
In this case, A, B, C, and E would be installed. D would not install because E was
not already installed. By putting them all on the line as arguments, they can be
installed more reliably via pkgng's logic.

Furthermore, should pkgng fail to resolve the dependencies when given all as
arguments, it will attempt to install it anyways because -M is passed.