aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAleix Conchillo Flaque2013-04-21 22:12:41 -0700
committerAdam Vandenberg2013-04-22 10:04:19 -0700
commit568ea222857a698029324551488d72ec4418e5c0 (patch)
treec11ee9831e52d5f2feac7dc1f9ca6c67e2e5a3cb /Library/Formula
parentcb72b5f8ae7a158a81b283ddd94a749832030b8f (diff)
downloadhomebrew-568ea222857a698029324551488d72ec4418e5c0.tar.bz2
guile: fix build for 2.0.9
Closes #19351. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/guile.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/guile.rb b/Library/Formula/guile.rb
index f70ac1812..1bf17ce0d 100644
--- a/Library/Formula/guile.rb
+++ b/Library/Formula/guile.rb
@@ -39,6 +39,12 @@ class Guile < Formula
cause "Segfaults during compilation"
end if build.devel?
+ # Only for 2.0.9: Fix shebang shell in build-aux/install-sh.
+ # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14201#19
+ def patches
+ DATA if build.devel?
+ end
+
def install
system './autogen.sh' if build.head?
@@ -51,3 +57,13 @@ class Guile < Formula
lib.cd { Dir["*.dylib"].each {|p| ln_sf p, File.basename(p, ".dylib")+".so" }}
end
end
+
+__END__
+--- guile-2.0.9.orig/build-aux/install-sh 2013-01-28 12:35:24.000000000 -0800
++++ guile-2.0.9/build-aux/install-sh 2013-04-21 08:41:10.000000000 -0700
+@@ -1,4 +1,4 @@
+-#!/nix/store/ryk1ywzz31kp4biclxq3yq6hpjycalyy-bash-4.2/bin/sh
++#!/bin/sh
+ # install - install a program, script, or datafile
+
+ scriptversion=2011-11-20.07; # UTC