From cf1813ed7bf603bd7fda8f2ed172544a255bdc3c Mon Sep 17 00:00:00 2001 From: Sidney Markowitz Date: Sat, 22 Feb 2014 12:29:42 +1300 Subject: 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 --- Library/Formula/sbcl.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') 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 -- cgit v1.2.3