Commit Graph

18 Commits (eba50d4d5794e705099c1c757dd38dea58d94de3)

Author SHA1 Message Date
Daniel Passos 18e464feb9 pkg-config: update URLs
Closes Homebrew/homebrew#11919.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-28 11:00:05 -07:00
Jack Nagel 902f483c9f pkg-config: add share/pkgconfig to pc-path
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 Homebrew/homebrew#10182.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-14 17:39:37 -06:00
Jack Nagel e539fffd9d pkg-config: apply clang fix to all platforms
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>
2012-02-14 12:29:28 -06:00
Nibbles 2bits 383fb6b537 pkg-config: Add gnu89 fixes Lion + Clang
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 Homebrew/homebrew#8631.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-11-17 12:15:41 -08:00
Max Howell 836f78b01c Include a note about why we don't support pkg-config 0.26 yet
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.
2011-08-22 10:26:01 +01:00
Adam Vandenberg 3f7c1c3b0d pkg-config: roll back to 0.25
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
2011-08-12 16:37:05 -07:00
Ruben Fonseca 8f41d362a1 pkg-config 0.26
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-12 12:27:41 -07:00
Adam Vandenberg 4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Duke Dorje 5da68583a5 Updated the pkg-config download
(FreeBSD added a dash in the subdomain; pkg-config instead of pkgconfig.)

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-22 23:11:37 -07:00
Adam Vandenberg eb6fad4879 pkg-config 0.25 2010-09-06 11:43:49 -07:00
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* 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
2010-08-07 18:08:53 -07:00
Adam Vandenberg 88efb5d5dc pkg-config - modernize properties. 2009-11-13 20:30:57 -08:00
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
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.
2009-10-15 16:48:03 +01:00
Max Howell 4ee824abfb Add /usr/X11/lib/pkgconfig to pkg-config-path 2009-09-16 15:18:56 +01:00
Max Howell 4d7eef35c6 Place /usr/local first in pkg-config path
And uniq! the path list
2009-08-10 18:46:27 +01:00
Max Howell b5706e2d9c Refactor $foo into HOMEBREW_FOO
CONSTANTS are the far saner choice for these important parameters.

Split env up so I can redefine the CONSTANTS in unittest.rb.
2009-07-31 04:59:02 +01:00
Max Howell 8412fa92f8 Tidied things up a little in light of recent changes 2009-06-18 11:13:11 +01:00
Max Howell 97b1ada08d Created /Library moved brew tool to /bin
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.
2009-06-04 19:36:58 +01:00