diff options
Diffstat (limited to 'Library/Formula/ldns.rb')
| -rw-r--r-- | Library/Formula/ldns.rb | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Library/Formula/ldns.rb b/Library/Formula/ldns.rb index b262419c2..5b5d78bb7 100644 --- a/Library/Formula/ldns.rb +++ b/Library/Formula/ldns.rb @@ -6,8 +6,8 @@ end class Ldns < Formula homepage 'http://nlnetlabs.nl/projects/ldns/' - url 'http://nlnetlabs.nl/downloads/ldns/ldns-1.6.12.tar.gz' - sha1 '1d61df0f666908551d5a62768f77d63e727810aa' + url 'http://nlnetlabs.nl/downloads/ldns/ldns-1.6.13.tar.gz' + sha1 '859f633d10b763f06b602e2113828cbbd964c7eb' depends_on 'swig' if build_bindings? @@ -16,9 +16,14 @@ class Ldns < Formula end def install - args = ["--prefix=#{prefix}", "--disable-gost", "--with-drill", "--with-examples"] + # gost requires OpenSSL >= 1.0.0 + args = %W[ + --prefix=#{prefix} + --disable-gost + --with-drill + ] args << "--with-pyldns" if build_bindings? - ENV.append "LDFLAGS", "-L#{HOMEBREW_PREFIX}/lib" + system "./configure", *args system "make" system "make install" |
