docker: block same-option dependencies

This commit is contained in:
Dominyk Tiller 2016-04-04 22:48:12 +01:00
parent 00d8d9d0b8
commit e010e91a6b

View file

@ -18,8 +18,11 @@ class Docker < Formula
option "without-completions", "Disable bash/zsh completions"
depends_on "go" => :build
depends_on "libtool" => :run if build.with?("experimental")
depends_on "yubico-piv-tool" => :recommended if build.with?("experimental")
if build.with? "experimental"
depends_on "libtool" => :run
depends_on "yubico-piv-tool" => :recommended
end
def install
ENV["AUTO_GOPATH"] = "1"