diff options
Diffstat (limited to 'Library')
| -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 b237fa159..4d95e0bb4 100644 --- a/Library/Formula/objective-caml.rb +++ b/Library/Formula/objective-caml.rb @@ -9,12 +9,12 @@ class ObjectiveCaml <Formula skip_clean :all def install - system "./configure", "--prefix", prefix, "--mandir", man + system "./configure", "--prefix", HOMEBREW_PREFIX, "--mandir", man ENV.deparallelize # Builds are not parallel-safe, esp. with many cores system "make world" system "make opt" system "make opt.opt" - system "make install" + 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 |
