Commit Graph
29 Commits
Author SHA1 Message Date
Mike McQuaid 615f69684e pkg-config 0.28 bottles 2013-02-18 10:37:38 +00:00
Birger J. Nordølum 2e327b51b0 pkg-config 0.28
Closes #17861.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-18 10:21:02 +00:00
Mike McQuaid a30a522d09 pkg-config: add bottles. 2012-08-25 13:18:16 -07:00
Jack Nagel 6c892693e3 pkg-config 0.27.1
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-25 14:54:22 -05:00
samueljohn 17469d7ad6 Xcode-only: Clean up compiler flags. Use CPATH.
- 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>
2012-08-23 16:26:28 -05:00
Mike McQuaid 2160090acc pkg-config: add bottles. 2012-08-11 15:24:21 +01:00
Mihail-samoylov 42facd9011 pkg-config: add a mirror
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>
2012-08-07 22:10:26 -07:00
Adam Vandenberg 9c1e7cb9aa pkg-config: add upstream bug 2012-07-22 10:36:07 -07:00
Adam Vandenberg 0edca4f357 pkg-config: remove conflicting m4 files 2012-07-22 10:32:18 -07:00
Jack Nagel d74d0328f0 pkg-config 0.27
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-19 02:59:56 -05:00
Camillo Lugaresi 63415cccae use XQuartz when present 2012-07-01 12:10:32 -05:00
Daniel Passos b6156d99a8 pkg-config: update URLs
Closes #11919.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-28 11:00:05 -07:00
Jack Nagel 4e1014e62a 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 #10182.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-14 17:39:37 -06:00
Jack Nagel 308859ffb4 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 bdbfd5278e 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 #8631.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-11-17 12:15:41 -08:00
Max Howell 9ba4e6ecfc 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 96a3134c46 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 eefd4ae4cd pkg-config 0.26
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-12 12:27:41 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Duke Dorje 6cf7c80de5 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 07b5f7fe90 pkg-config 0.25 2010-09-06 11:43:49 -07:00
Adam Vandenberg d0efd9ee94 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 c94704619e pkg-config - modernize properties. 2009-11-13 20:30:57 -08:00
Max Howell a82e823935 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 6aa72821ee Add /usr/X11/lib/pkgconfig to pkg-config-path 2009-09-16 15:18:56 +01:00
Max Howell c2f9ee68ab Place /usr/local first in pkg-config path
And uniq! the path list
2009-08-10 18:46:27 +01:00
Max Howell 118b41bfcd 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 271acec036 Tidied things up a little in light of recent changes 2009-06-18 11:13:11 +01:00
Max Howell e91aeafc82 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