According to the pkg-config docs, share/pkgconfig is also a valid
location for pc files, and a few packages in Homebrew insist on sticking
them there. Rather than patch these packages individually, just add
HOMEBREW_PREFIX/share/pkgconfig to the default pc file search path.
FixesHomebrew/homebrew#10182.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This fix applies to any platform with Clang 3.0 (and presumably older
clang, but older clang is rarely used); XCode 4.2 on Snow Leopard, for
example.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
pkg-config append to cflags -std=gnu89 on Lion fixes duplicate
symbols linking libglib when compiling with Clang-3.0 from
XCode-4.2 (4D199). Add make check to confirm success, given the
critical nature of the software. The flag is appended only on
Lion, though it successfully tests on Snow Leopard in 64bit, too.
EDIT: checks if lion and if clang before switching to gnu89.
ClosesHomebrew/homebrew#8631.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
I'd happily never upgrade pkg-config. Glib is a hideous and bloated POS, generally you can avoid installing it, but now fucking pkg-config depends on it. Fuck that.
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
Moved Forumla and Cellar/homebrew into Library.
This way the homebrew core files are more sensibly placed, Cellar is
more internally consistent and only generated. And Homebrew is ready for
use straight out of the tarball.