aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/objective-caml.rb4
-rw-r--r--Library/Homebrew/keg.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/objective-caml.rb b/Library/Formula/objective-caml.rb
index db56590c8..5da37bea5 100644
--- a/Library/Formula/objective-caml.rb
+++ b/Library/Formula/objective-caml.rb
@@ -16,8 +16,8 @@ class ObjectiveCaml < Formula
system "make opt.opt"
system "make PREFIX=#{prefix} install"
- # site-lib in the Cellar will be a symlink to the HOMEBREW_PREFIX location
- (HOMEBREW_PREFIX+"lib/ocaml/site-lib").mkpath
+ # site-lib in the Cellar will be a symlink to the HOMEBREW_PREFIX location,
+ # which is mkpath'd by Keg#link when something installs into it
ln_s HOMEBREW_PREFIX+"lib/ocaml/site-lib", lib+"ocaml/site-lib"
end
end
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb
index e0bbc94f0..2ea07b96b 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -84,7 +84,7 @@ class Keg < Pathname
when 'ghc' then :mkpath
when 'lua' then :mkpath
when 'node' then :mkpath
- when 'ocaml' then :mkpath
+ when /^ocaml/ then :mkpath
when /^perl5/ then :mkpath
when 'php' then :mkpath
when /^python[23]\.\d$/ then :mkpath