mxcl/homebrew — pull request #15070 by 2bits (2012-09-23 20:48:48+00:00)
Title: ext2fuse: fix build error by using a CFLAG

ext2fuse has been broken for a while because it's an old piece
of code that needs a few cflags for clang. Macports also defines
a different precompiler variable, `-D__FreeBSD__=10` which it
turns out fixes all our build errors and aslo fixes the need we
had for defining `-DHAVE_TYPE_SSIZE_T=1`

- Add to CFLAGS `-D__FreeBSD__=10 -DENABLE_SWAPFS` like MP.
- Add a `--std=gnu89` flag if compiler is clang
- Remove the unneeded CFLAG.
- Works great with superenv.

Fixes #12207