keg: make guile's site-dir persistent
Things that install Guile scheme objects should be doing so in
HOMEBREW_PREFIX/share/guile/site, which should be persistent rather
than a symlink to any formulae's Cellar, not even guile's necessarily as
f061d864d9
managed to expose.
I believe guile isn't actually configured correctly to expect
this directory, but since absolutely nobody has complained to
date as far as I can find & `gnutls` seems to be the only formula
using it this way the temptation is to leave it misconfigured
& use this directory for site schemes.
I don't really know the deeper issues around messing with Guile's
configuration so going for a minimal fix seems the safest option.
This commit is contained in:
parent
984e80a7c2
commit
2aa32ea191
@ -326,6 +326,7 @@ class Keg
|
|||||||
when /^fish/ then :mkpath
|
when /^fish/ then :mkpath
|
||||||
# Lua, Lua51, Lua53 all need the same handling.
|
# Lua, Lua51, Lua53 all need the same handling.
|
||||||
when /^lua\// then :mkpath
|
when /^lua\// then :mkpath
|
||||||
|
when %r{^guile/} then :mkpath
|
||||||
else :link
|
else :link
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user