diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/src.rb | 6 | ||||
| -rw-r--r-- | Library/Formula/trafficserver.rb | 4 |
2 files changed, 7 insertions, 3 deletions
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 diff --git a/Library/Formula/trafficserver.rb b/Library/Formula/trafficserver.rb index 16764a7c1..373e58114 100644 --- a/Library/Formula/trafficserver.rb +++ b/Library/Formula/trafficserver.rb @@ -30,7 +30,9 @@ class Trafficserver < Formula # Patch 1: OpenSSL 1.0.2+ tls1.h detection, remove on 5.3.0 (upstream bug TS-3443) # Patch 2: Xcode 6.3 compile fix, remove on 5.3.0 (upstream bug TS-3302) - patch :DATA if build.stable? + stable do + patch :DATA + end def install # Needed for correct ./configure detections. |
