diff options
| author | Mike McQuaid | 2014-12-27 15:59:32 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2014-12-27 16:31:44 +0000 | 
| commit | bd2d2402720cd404001fef84295fdd510d7c7731 (patch) | |
| tree | 26183ff1e4b3852cf72c092ae2750c080ee046d4 | |
| parent | c2abfe89bbccf95c112b4883b26ffb5bee03889f (diff) | |
| download | homebrew-bd2d2402720cd404001fef84295fdd510d7c7731.tar.bz2 | |
autoconf: fix strict audit failures.
| -rw-r--r-- | Library/Formula/autoconf.rb | 26 | 
1 files changed, 12 insertions, 14 deletions
| diff --git a/Library/Formula/autoconf.rb b/Library/Formula/autoconf.rb index 4fabc96db..0e169124a 100644 --- a/Library/Formula/autoconf.rb +++ b/Library/Formula/autoconf.rb @@ -1,10 +1,8 @@ -require 'formula' -  class Autoconf < Formula -  homepage 'http://www.gnu.org/software/autoconf' -  url 'http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz' -  mirror 'http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz' -  sha1 '562471cbcb0dd0fa42a76665acf0dbb68479b78a' +  homepage "http://www.gnu.org/software/autoconf" +  url "http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz" +  mirror "http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz" +  sha1 "562471cbcb0dd0fa42a76665acf0dbb68479b78a"    bottle do      revision 1 @@ -17,19 +15,19 @@ class Autoconf < Formula    keg_only :provided_until_xcode43    def install -    ENV['PERL'] = '/usr/bin/perl' +    ENV["PERL"] = "/usr/bin/perl"      # force autoreconf to look for and use our glibtoolize -    inreplace 'bin/autoreconf.in', 'libtoolize', 'glibtoolize' -    # also touch the man page so that it isn't rebuilt -    inreplace 'man/autoreconf.1', 'libtoolize', 'glibtoolize' +    inreplace "bin/autoreconf.in", "libtoolize", "glibtoolize" +    # also touch the man page so that it isn"t rebuilt +    inreplace "man/autoreconf.1", "libtoolize", "glibtoolize"      system "./configure", "--prefix=#{prefix}" -    system "make install" -    rm_f info/'standards.info' +    system "make", "install" +    rm_f info/"standards.info"    end    test do -    cp "#{share}/autoconf/autotest/autotest.m4", 'autotest.m4' -    system "#{bin}/autoconf", 'autotest.m4' +    cp "#{share}/autoconf/autotest/autotest.m4", "autotest.m4" +    system "#{bin}/autoconf", "autotest.m4"    end  end | 
