| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Homebrew provides some missing pc files for recent OS X versions,
and they should be available to pkg-config by default.
Note that under both stdenv and superenv, we override the built-in path,
so changes to the formula do not affect the stability of builds.
cf. #21171.
Closes #24321.
|
|
|
|
|
|
Closes #17861.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
- When using CPATH, we only need -isysroot and not the other -I spam.
- LDFLAGS use -isysroot instead of -L
Turns out that the linker also understands the
-isysroot flag which behaves more natural (in the
sense: "like the internal defaults `/usr/lib` etc.)
than adding `-L$(SDKROOT).
Especially for duplicates, the linker first searches
through all `-L` dirs and then looks at the sysroot
or internal defaults. This is what we want.
- Pkg-config needs CC with CFLAGS passed to configure.
Closes #14351.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
The official download is offline from time to time. See:
http://serverfault.com/questions/413591/brew-install-imagemagick-curl-fails
Closes #13952.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
Closes #11919.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
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.
Fixes #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.
Closes #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.
|
|
0.26 requires glib (or a bootstrap glib), and glib requires pkg-config
so rather than dealing with Homebrew being broken, roll back to a previous
version.
See:
https://github.com/mxcl/homebrew/issues/6974#issuecomment-1795355
http://thread.gmane.org/gmane.comp.package-management.pkg-config/620
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
(FreeBSD added a dash in the subdomain; pkg-config instead of pkgconfig.)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
* 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.
|
|
|
|
And uniq! the path list
|
|
CONSTANTS are the far saner choice for these important parameters.
Split env up so I can redefine the CONSTANTS in unittest.rb.
|
|
|
|
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.
|