bind: remove options

This commit is contained in:
FX Coudert 2018-09-21 15:08:49 +02:00
parent e3218914bc
commit 5125344783

View file

@ -4,6 +4,7 @@ class Bind < Formula
url "https://ftp.isc.org/isc/bind9/9.12.2-P2/bind-9.12.2-P2.tar.gz"
version "9.12.2-P2"
sha256 "87027826e98bab90ead31f45ce7653cb3116ebe64ab8202a08b6b64531df693e"
revision 1
head "https://gitlab.isc.org/isc-projects/bind9.git"
bottle do
@ -13,8 +14,8 @@ class Bind < Formula
sha256 "f1647b9ece6cc0ca08891774487415c28a13ed4d9637f1e60924b885ce7da4b2" => :el_capitan
end
depends_on "json-c"
depends_on "openssl"
depends_on "json-c" => :optional
def install
# Fix "configure: error: xml2-config returns badness"
@ -25,14 +26,13 @@ class Bind < Formula
# enable DNSSEC signature chasing in dig
ENV["STD_CDEFINES"] = "-DDIG_SIGCHASE=1"
json = build.with?("json-c") ? "yes" : "no"
system "./configure", "--prefix=#{prefix}",
"--enable-threads",
"--enable-ipv6",
"--with-openssl=#{Formula["openssl"].opt_prefix}",
"--with-libjson=#{json}"
"--with-libjson=yes"
# From the bind9 README: "Do not use a parallel "make"."
# From the bind9 README: "Do not use a parallel "make"
ENV.deparallelize
system "make"
system "make", "install"