diff options
| author | Jack Nagel | 2014-03-29 21:20:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-29 21:20:26 -0500 |
| commit | 355ebac059089421031d90be39e2fb42a26ccb58 (patch) | |
| tree | edbf0d74e3da64c0dbcf0bc5880b1f3175be976b /Library/Formula/bind.rb | |
| parent | 5d96718f86b9304361deb36b93dc94e5e0603923 (diff) | |
| download | homebrew-355ebac059089421031d90be39e2fb42a26ccb58.tar.bz2 | |
bind: use Homebrew openssl
Diffstat (limited to 'Library/Formula/bind.rb')
| -rw-r--r-- | Library/Formula/bind.rb | 23 |
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 |
