sbcl: Set logical pathname translation for contrib too.

Without this, source files in contrib are not found, such as ASDF.

Closes #9122.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
This commit is contained in:
Jinwoo Lee 2017-01-20 23:19:23 -08:00 committed by Alex Dunn
parent e600190ff2
commit 039b65f5a7

View file

@ -3,6 +3,7 @@ class Sbcl < Formula
homepage "http://www.sbcl.org/"
url "https://downloads.sourceforge.net/project/sbcl/sbcl/1.3.14/sbcl-1.3.14-source.tar.bz2"
sha256 "bf963d58533d839eb76a8028abd17071708d964d5dce07787839cfb6d0d6dcca"
revision 1
head "git://sbcl.git.sourceforge.net/gitroot/sbcl/sbcl.git"
@ -98,7 +99,8 @@ class Sbcl < Formula
(lib/"sbcl/sbclrc").write <<-EOS.undent
(setf (logical-pathname-translations "SYS")
'(("SYS:SRC;**;*.*.*" #p"#{pkgshare}/src/**/*.*")))
'(("SYS:SRC;**;*.*.*" #p"#{pkgshare}/src/**/*.*")
("SYS:CONTRIB;**;*.*.*" #p"#{pkgshare}/contrib/**/*.*")))
EOS
end
end