bind: remove options
This commit is contained in:
parent
e3218914bc
commit
5125344783
1 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue