Homebrew/homebrew — pull request #27330 by g--n (2014-03-08 13:40:37+00:00)
Title: New formula: bmake (bsdmake drop-in replacement).

Maintained, portable **B**SD `make`.

It is:
- Based on NetBSD `make`. Largely identical to/compatible with pkgsrc `bmake`, but doesn't *need* pkgsrc.
- This has been the de-facto _portable_ distro of bmake for four of five years now, and is fully cross-platform.
- A drop in replacement for `bsdmake`, which Apple dropped nine years ago now, and barely limps along.
- Does not need four large MacPorts patches, and patches _for_ those patches.
The `inreplace`'s here are only needed for building natively on 64-bit, and manpage formatting.

- I have tested that all formulae with bsdmake dependencies can substitute `depends_on :bsdmake` with
`depends_on 'bmake' => :build`, except for `wait_on`_?_, which incorrectly hardcodes the installation of a gzip'd manpage, as the mk rule that does this was removed some years ago.
- The addition of the superenv wrapper is necessitated by a couple others which set `-Werror`.

- Is impressively capable of simulating **g**make now as well. Supports multiple make jobs (safely), etc.
- It successfully will handle, in my experience, upwards of 90% of GNUmakefiles, works with cmake, etc.