knot: fix dependency order

This commit is contained in:
commitay 2018-09-17 22:57:56 +10:00
parent 4558e8f740
commit 6d43f96ee5

View file

@ -14,21 +14,19 @@ class Knot < Formula
head do
url "https://gitlab.labs.nic.cz/knot/knot-dns.git"
depends_on "automake" => :build
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
# due to AT_REMOVEDIR
depends_on :macos => :yosemite
depends_on "pkg-config" => :build
depends_on "sphinx-doc" => :build
depends_on "fstrm"
depends_on "gnutls"
depends_on "libidn"
depends_on "userspace-rcu"
depends_on :macos => :yosemite # due to AT_REMOVEDIR
depends_on "protobuf-c"
depends_on "fstrm"
depends_on "userspace-rcu"
def install
system "autoreconf", "-fvi" if build.head?