diff options
| -rw-r--r-- | Library/Formula/mobile-shell.rb | 13 | 
1 files changed, 8 insertions, 5 deletions
diff --git a/Library/Formula/mobile-shell.rb b/Library/Formula/mobile-shell.rb index d95d9030f..dab76bb18 100644 --- a/Library/Formula/mobile-shell.rb +++ b/Library/Formula/mobile-shell.rb @@ -5,12 +5,15 @@ class MobileShell < Formula    url 'http://mosh.mit.edu/mosh-1.2.4.tar.gz'    sha1 'b1dffe8562d7b2f4956699849fbe5d18bfd7749e' -  head 'https://github.com/keithw/mosh.git' +  head do +    url 'https://github.com/keithw/mosh.git' + +    # Needs new autoconf for correct AC_C_RESTRICT macro +    # See: https://github.com/keithw/mosh/issues/241 +    depends_on 'autoconf' => :build +    depends_on 'automake' => :build +  end -  # Needs new autoconf for correct AC_C_RESTRICT macro -  # See: https://github.com/keithw/mosh/issues/241 -  depends_on 'autoconf' => :build if build.head? -  depends_on 'automake' => :build if build.head?    depends_on 'pkg-config' => :build    depends_on 'protobuf'  | 
