aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorDominyk Tiller2016-09-11 20:27:04 +0100
committerDominyk Tiller2016-09-12 03:24:53 +0100
commit2aa32ea19128ce07c05e337941dc9622015a2f0f (patch)
tree3c4bd39e3d15d527f772c9d4be318765de91cdca /Library/Homebrew
parent984e80a7c2624baa88bad1ab1bc822d1e98292c7 (diff)
downloadbrew-2aa32ea19128ce07c05e337941dc9622015a2f0f.tar.bz2
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 https://github.com/Homebrew/homebrew-core/commit/f061d864d99da4064a763ba51a37ecf3cff8943c 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.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/keg.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb
index f911bb6b4..bc4b9ed6e 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -326,6 +326,7 @@ class Keg
when /^fish/ then :mkpath
# Lua, Lua51, Lua53 all need the same handling.
when /^lua\// then :mkpath
+ when %r{^guile/} then :mkpath
else :link
end
end