mxcl/homebrew — pull request #12032 by 2bits (2012-05-03 10:28:52+00:00)
Title: mpg123 1.14.0, formula cleanup

Upgrade mpg123 to 1.14.0.
Add a dep on pkg-config. It looks for it and installs mpg123.pc.
Remove skip clean. Use `--with-module-suffix=.so` instead.
Remove `--with-audio` list. It builds coreaudio, openal, dummy.
Remove LDFLAGS inreplace that added `read-only-relocs,suppress`.

Mpg123 builds the modules using the `.so` suffix by default.
So let it load them with that name. Tested by playing mp3s.
Also let it build the modules it wants to build. Someone
may desire that functionality. The read-only-relocs inreplace
was removed because that is not valid on x86_64. It generates
warnings, and ld will remove it. mxcl asked in a comment why
it was there. It may be needed for 32bit SL or Leopard, but
unless there are text relocations in assembly, it's not needed.
There was nothing in the history or past issues that justified
adding that. That change should be tested on 32bit systems
before this is pulled. The `--with-cpu` flags are still needed,
otherwise mpg123 chooses a generic x86 even for 64bit hardware.
This compiles on Lion with clang and llvm from XCode-4.3.2.