aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/libdap.rb6
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"