diff options
| author | Jack Nagel | 2012-01-30 00:02:28 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-01-30 00:04:33 -0600 |
| commit | 172c05ed9f2fca015247b6ddffade8284368c361 (patch) | |
| tree | 190d695c33b00f1921279f602f3bb99146be33c1 /Library/Formula | |
| parent | d6782aceb66553cbfd7a1b7c6a72fdc67441812d (diff) | |
| download | homebrew-172c05ed9f2fca015247b6ddffade8284368c361.tar.bz2 | |
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>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/objective-caml.rb | 4 |
1 files changed, 2 insertions, 2 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 |
