mkpath directories under lib/ocaml
Ocaml packages that need to install here will cause the site-lib directory to be created, and the symlink in the ocaml keg will work as intended. This is necessary for the ocaml bottle to work properly. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
05b9d462cf
commit
88ebd6f9ae
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@ class ObjectiveCaml < Formula
|
||||||
system "make opt.opt"
|
system "make opt.opt"
|
||||||
system "make PREFIX=#{prefix} install"
|
system "make PREFIX=#{prefix} install"
|
||||||
|
|
||||||
# site-lib in the Cellar will be a symlink to the HOMEBREW_PREFIX location
|
# site-lib in the Cellar will be a symlink to the HOMEBREW_PREFIX location,
|
||||||
(HOMEBREW_PREFIX+"lib/ocaml/site-lib").mkpath
|
# which is mkpath'd by Keg#link when something installs into it
|
||||||
ln_s HOMEBREW_PREFIX+"lib/ocaml/site-lib", lib+"ocaml/site-lib"
|
ln_s HOMEBREW_PREFIX+"lib/ocaml/site-lib", lib+"ocaml/site-lib"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue