diff options
| author | Dominyk Tiller | 2014-12-08 02:26:09 +0000 |
|---|---|---|
| committer | Jack Nagel | 2014-12-08 00:14:58 -0500 |
| commit | c9cb3bfd9eae0eb876c93596683a2b3c500ae514 (patch) | |
| tree | c78b30e98381c20cb63ffa9d658c6e2910ed9f79 /Library/Formula | |
| parent | 9dfb8399e5091a79fe38ea7f7c3a4e12e08482a2 (diff) | |
| download | homebrew-c9cb3bfd9eae0eb876c93596683a2b3c500ae514.tar.bz2 | |
guile: fix head
Closes #34769.
Closes #34773.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/guile.rb | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/Library/Formula/guile.rb b/Library/Formula/guile.rb index cce295d8d..46f2b75c4 100644 --- a/Library/Formula/guile.rb +++ b/Library/Formula/guile.rb @@ -1,10 +1,10 @@ -require 'formula' +require "formula" class Guile < Formula - homepage 'http://www.gnu.org/software/guile/' - url 'http://ftpmirror.gnu.org/guile/guile-2.0.11.tar.gz' - mirror 'http://ftp.gnu.org/gnu/guile/guile-2.0.11.tar.gz' - sha1 '3cdd1c4956414bffadea13e5a1ca08949016a802' + homepage "http://www.gnu.org/software/guile/" + url "http://ftpmirror.gnu.org/guile/guile-2.0.11.tar.gz" + mirror "http://ftp.gnu.org/gnu/guile/guile-2.0.11.tar.gz" + sha1 "3cdd1c4956414bffadea13e5a1ca08949016a802" revision 1 bottle do @@ -15,20 +15,20 @@ class Guile < Formula end head do - url 'http://git.sv.gnu.org/r/guile.git' + url "http://git.sv.gnu.org/r/guile.git" - depends_on 'autoconf' => :build - depends_on 'automake' => :build - depends_on 'gettext' => :build + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "gettext" => :build end - depends_on 'pkg-config' => :build - depends_on 'libtool' => :run - depends_on 'libffi' - depends_on 'libunistring' - depends_on 'bdw-gc' - depends_on 'gmp' - depends_on 'readline' + depends_on "pkg-config" => :build + depends_on "libtool" => :run + depends_on "libffi" + depends_on "libunistring" + depends_on "bdw-gc" + depends_on "gmp" + depends_on "readline" fails_with :llvm do build 2336 @@ -41,7 +41,10 @@ class Guile < Formula end def install - system './autogen.sh' if build.head? + if build.head? + inreplace "autogen.sh", "libtoolize", "glibtoolize" + system "./autogen.sh" + end system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", @@ -58,14 +61,14 @@ class Guile < Formula end test do - hello = testpath/'hello.scm' + hello = testpath/"hello.scm" hello.write <<-EOS.undent (display "Hello World") (newline) EOS - ENV['GUILE_AUTO_COMPILE'] = '0' + ENV["GUILE_AUTO_COMPILE"] = "0" - system bin/'guile', hello + system bin/"guile", hello end end |
