From 2d1504983ccea79d5b6fec0cd0a93ae5018cfaaa Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 23 May 2014 15:23:28 -0500 Subject: ldns: always use Homebrew's openssl --- Library/Formula/ldns.rb | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3