From dfec604e4d96bbfaf031249089578679fe68ff1f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 17 Apr 2015 22:32:55 -0400 Subject: Remove more uses of build.head? in the DSL --- Library/Formula/src.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Library/Formula/src.rb') diff --git a/Library/Formula/src.rb b/Library/Formula/src.rb index bf0296305..f17e7bf62 100644 --- a/Library/Formula/src.rb +++ b/Library/Formula/src.rb @@ -3,7 +3,10 @@ class Src < Formula url "http://www.catb.org/~esr/src/src-0.19.tar.gz" sha256 "3d9c5c2fe816b3f273aab17520b917a774e90776c766f165efb6ae661378a65c" - head "git://thyrsus.com/repositories/src.git" + head do + url "git://thyrsus.com/repositories/src.git" + depends_on "asciidoc" => :build + end bottle do cellar :any @@ -15,7 +18,6 @@ class Src < Formula conflicts_with "srclib", :because => "both install a 'src' binary" depends_on "rcs" - depends_on "asciidoc" if build.head? def install # OSX doesn't provide a /usr/bin/python2. Upstream has been notified but -- cgit v1.2.3