mobile-shell: use new dsl

master
Adam Vandenberg 2012-09-05 20:59:43 -07:00
parent 78f24930c4
commit 5b6db5f7a9
1 changed files with 2 additions and 2 deletions

View File

@ -9,12 +9,12 @@ class MobileShell < Formula
# Needs new autoconf for correct AC_C_RESTRICT macro
# See: https://github.com/keithw/mosh/issues/241
depends_on 'autoconf' => :build if ARGV.build_head?
depends_on 'autoconf' => :build if build.head?
depends_on 'pkg-config' => :build
depends_on 'protobuf'
def install
system "./autogen.sh" if ARGV.build_head?
system "./autogen.sh" if build.head?
# Upstream prefers O2:
# https://github.com/keithw/mosh/blob/master/README.md