diff options
| author | Jack Nagel | 2014-04-04 19:38:29 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-04-04 19:38:45 -0500 | 
| commit | 96c4b58b73e03dc7952f406ca3c72ea21b2c7704 (patch) | |
| tree | 01b799ba5af5f4fa9f2a6e4f0c38982da9c5d61f | |
| parent | 575adf175bb0f5f28fa288ff6207e04f6a039202 (diff) | |
| download | homebrew-96c4b58b73e03dc7952f406ca3c72ea21b2c7704.tar.bz2 | |
mcabber: modernize autotools bootstrap
| -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 | 
