aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSidney Markowitz2014-02-22 12:29:42 +1300
committerAdam Vandenberg2014-02-23 16:00:25 -0800
commitcf1813ed7bf603bd7fda8f2ed172544a255bdc3c (patch)
tree80037a880d158fbffa56971ae1ce11f429e17393 /Library
parent7874dfb556e6b1c8fce4d458ab7ae5eed80486b8 (diff)
downloadhomebrew-cf1813ed7bf603bd7fda8f2ed172544a255bdc3c.tar.bz2
sbcl: Fix failing install HEAD due to no version
The make script in sbcl gets a version string from either a file named version.lisp-expr or a release tag in the git repo. HEAD has neither so requires a step to create the file with a dummy version string before the make script is run. This commit creates that file when installing from HEAD. Closes #26880. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/sbcl.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/sbcl.rb b/Library/Formula/sbcl.rb
index b7b2c4328..92d0685e9 100644
--- a/Library/Formula/sbcl.rb
+++ b/Library/Formula/sbcl.rb
@@ -77,6 +77,7 @@ class Sbcl < Formula
cd buildpath do
ENV['SBCL_ARCH'] = 'x86' if build.build_32_bit?
+ Pathname.new("version.lisp-expr").write('"1.0.99.999"') if build.head?
system "./make.sh", "--prefix=#{prefix}", "--xc-host=#{xc_cmdline}"
end
end