diff --git a/Formula/mit-scheme.rb b/Formula/mit-scheme.rb index c6a24cb6d0..3b02655d93 100644 --- a/Formula/mit-scheme.rb +++ b/Formula/mit-scheme.rb @@ -2,9 +2,9 @@ require 'formula' class MitScheme < Formula homepage 'http://www.gnu.org/software/mit-scheme/' - url 'http://ftpmirror.gnu.org/mit-scheme/stable.pkg/9.1.1/mit-scheme-c-9.1.1.tar.gz' - mirror 'http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.1.1/mit-scheme-c-9.1.1.tar.gz' - sha1 '8f175a40061bdfc0248535e198cc7f5b5a0dce32' + url 'http://ftpmirror.gnu.org/mit-scheme/stable.pkg/9.2/mit-scheme-c-9.2.tar.gz' + mirror 'http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.2/mit-scheme-c-9.2.tar.gz' + sha1 'd2820ee76da109d370535fec6e19910a673aa7ee' conflicts_with 'tinyscheme', :because => 'both install a `scheme` binary' @@ -16,17 +16,12 @@ class MitScheme < Formula # change_make_var, because there are Makefiles littered everywhere ENV.j1 - # Fix hard-coded locations of MACOSX_SYSROOT. - ['src/lib/include/configure', 'src/configure'].each do |configure| - inreplace configure, 'MACOSX_SYSROOT=/Developer/SDKs/${SDK}.sdk', - "MACOSX_SYSROOT=/#{MacOS.sdk_path}" - end # Liarc builds must launch within the src dir, not using the top-level Makefile cd "src" # Take care of some hard-coded paths - inreplace %w(6001/edextra.scm 6001/floppy.scm compiler/etc/disload.scm configure + inreplace %w(6001/edextra.scm 6001/floppy.scm compiler/etc/disload.scm microcode/configure edwin/techinfo.scm edwin/unix.scm lib/include/configure lib/include/option.c swat/c/tk3.2-custom/Makefile swat/c/tk3.2-custom/tcl/Makefile swat/scheme/other/btest.scm) do |s| s.gsub! "/usr/local", prefix