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.
This commit is contained in:
Charlie Sharpsteen committed 2012-04-19 19:23:08 -07:00
1 parent 7a9d86fbd3
commit 52fe8c052d
1 file changed
+6
+6
View File
@@ -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"