From 172c05ed9f2fca015247b6ddffade8284368c361 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 30 Jan 2012 00:02:28 -0600 Subject: 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 --- Library/Formula/objective-caml.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3