diff options
| author | Charlie Sharpsteen | 2012-04-19 19:21:22 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-04-19 19:23:08 -0700 |
| commit | 52fe8c052d5674a5e7dd62801ec7f9ec40e9d090 (patch) | |
| tree | 8a4ad2a78812e76a88c3bfdc16d8f0ae541df6dc /Library/Formula/libdap.rb | |
| parent | 7a9d86fbd3ca62f3568f3d12fd40b250ed859334 (diff) | |
| download | homebrew-52fe8c052d5674a5e7dd62801ec7f9ec40e9d090.tar.bz2 | |
LibDAP: Use explicit path to system curl
Without this we get some really nasty arch flags in `dap-config` on Leopard and
Snow Leopard due to a fallback to buggy `libcurl.pc` files shipped with the
system.
Diffstat (limited to 'Library/Formula/libdap.rb')
| -rw-r--r-- | Library/Formula/libdap.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/libdap.rb b/Library/Formula/libdap.rb index 6873fdfd3..62dce83a6 100644 --- a/Library/Formula/libdap.rb +++ b/Library/Formula/libdap.rb @@ -16,6 +16,12 @@ class Libdap < Formula "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", + # __Always pass the curl prefix!__ + # Otherwise, configure will fall back to pkg-config and on Leopard + # and Snow Leopard, the libcurl.pc file that ships with the system + # is seriously broken---too many arch flags. This will be carried + # over to `dap-config` and from there the contamination will spread. + "--with-curl=/usr", "--with-included-regex" system "make install" |
