Commit Graph

2 Commits (1f45f2b308cdae0593d3501e3ae41d3a55d4e7a6)

Author SHA1 Message Date
Jack Nagel 53473b6bf5 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Simon Heimlicher f8ea567573 Added formula for md (1), which is missing from OS X Mountain Lion
Up to and including 10.7.4, OS X shipped with 'md' at '/usr/bin/md',
a BSD utility to manage dependencies. Since OS X 10.8, 'md' is
missing, which causes compilation of older software to fail with an
error message along the lines of 'make: md: No such file or directory'.
This formula uses the source for 'md' from OS X 10.7.4.

Closes Homebrew/homebrew#13612.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-07-28 20:27:46 -03:00