aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bind.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-29 21:20:26 -0500
committerJack Nagel2014-03-29 21:20:26 -0500
commit355ebac059089421031d90be39e2fb42a26ccb58 (patch)
treeedbf0d74e3da64c0dbcf0bc5880b1f3175be976b /Library/Formula/bind.rb
parent5d96718f86b9304361deb36b93dc94e5e0603923 (diff)
downloadhomebrew-355ebac059089421031d90be39e2fb42a26ccb58.tar.bz2
bind: use Homebrew openssl
Diffstat (limited to 'Library/Formula/bind.rb')
-rw-r--r--Library/Formula/bind.rb23
1 files changed, 5 insertions, 18 deletions
diff --git a/Library/Formula/bind.rb b/Library/Formula/bind.rb
index 3b5f2cdfd..2766e9e5d 100644
--- a/Library/Formula/bind.rb
+++ b/Library/Formula/bind.rb
@@ -5,9 +5,7 @@ class Bind < Formula
url 'http://ftp.isc.org/isc/bind9/9.9.5/bind-9.9.5.tar.gz'
sha1 'f3fe8000628ec57f332aec1ad9587b767208a38f'
- option 'with-brewed-openssl', 'Build with Homebrew OpenSSL instead of the system version'
-
- depends_on "openssl" if MacOS.version <= :leopard or build.with?('brewed-openssl')
+ depends_on "openssl"
def install
ENV.libxml2
@@ -16,21 +14,10 @@ class Bind < Formula
ENV['STD_CDEFINES'] = '-DDIG_SIGCHASE=1'
- args = [
- "--prefix=#{prefix}",
- "--enable-threads",
- "--enable-ipv6",
- ]
-
- if build.with? 'brewed-openssl'
- args << "--with-ssl-dir=#{Formula['openssl'].opt_prefix}"
- elsif MacOS.version > :leopard
- # For Xcode-only systems we help a bit to find openssl.
- # If CLT.installed?, it evaluates to "/usr", which works.
- args << "--with-openssl=#{MacOS.sdk_path}/usr"
- end
-
- system "./configure", *args
+ system "./configure", "--prefix=#{prefix}",
+ "--enable-threads",
+ "--enable-ipv6",
+ "--with-ssl-dir=#{Formula['openssl'].opt_prefix}"
# From the bind9 README: "Do not use a parallel 'make'."
ENV.deparallelize