diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mcabber.rb | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Library/Formula/mcabber.rb b/Library/Formula/mcabber.rb index a7750d9d9..41a9018a2 100644 --- a/Library/Formula/mcabber.rb +++ b/Library/Formula/mcabber.rb @@ -9,9 +9,9 @@ class Mcabber < Formula head do url 'http://mcabber.com/hg/', :using => :hg - depends_on :autoconf - depends_on :automake - depends_on :libtool + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build end option 'enable-enchant', 'Enable spell checking support via enchant' @@ -29,11 +29,8 @@ class Mcabber < Formula def install if build.head? - ENV['LIBTOOLIZE'] = 'glibtoolize' - ENV['ACLOCAL'] = "aclocal -I #{HOMEBREW_PREFIX}/share/aclocal" - cd 'mcabber' # Not using block form on purpose - inreplace 'autogen.sh', 'libtoolize', '$LIBTOOLIZE' - inreplace 'autogen.sh', 'aclocal', '$ACLOCAL' + cd "mcabber" + inreplace "autogen.sh", "libtoolize", "glibtoolize" system "./autogen.sh" end |
