From 52fe8c052d5674a5e7dd62801ec7f9ec40e9d090 Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Thu, 19 Apr 2012 19:21:22 -0700 Subject: 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. --- Library/Formula/libdap.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/Formula/libdap.rb') 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" -- cgit v1.2.3