aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-05-23 15:23:28 -0500
committerJack Nagel2014-05-23 15:24:59 -0500
commit2d1504983ccea79d5b6fec0cd0a93ae5018cfaaa (patch)
treec98b3a0f36c5bfc24eafab911fe41cfedbadd023 /Library/Formula
parent43362ff1b190a0db701991e6670d4f8657cda827 (diff)
downloadhomebrew-2d1504983ccea79d5b6fec0cd0a93ae5018cfaaa.tar.bz2
ldns: always use Homebrew's openssl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ldns.rb16
1 files changed, 3 insertions, 13 deletions
diff --git a/Library/Formula/ldns.rb b/Library/Formula/ldns.rb
index 16350a4df..74fbce682 100644
--- a/Library/Formula/ldns.rb
+++ b/Library/Formula/ldns.rb
@@ -12,27 +12,17 @@ class Ldns < Formula
sha1 "99a0c73caa2ef8289e06730b39d56da5fa886cc5" => :lion
end
- option 'with-gost', 'Compile ldns with support for GOST algorithms in DNSSEC'
-
depends_on :python => :optional
- depends_on 'swig' if build.with? 'python'
-
- # gost requires OpenSSL >= 1.0.0
- depends_on 'openssl' if build.with? 'gost'
+ depends_on 'openssl'
+ depends_on 'swig' => :build if build.with? 'python'
def install
args = %W[
--prefix=#{prefix}
--with-drill
+ --with-ssl=#{Formula["openssl"].opt_prefix}
]
- if build.with? 'gost'
- args << "--with-ssl=#{HOMEBREW_PREFIX}/opt/openssl"
- else
- args << "--disable-gost"
- args << "--with-ssl=#{MacOS.sdk_path}/usr"
- end
-
args << "--with-pyldns" if build.with? 'python'
system "./configure", *args