aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/objective-caml.rb
diff options
context:
space:
mode:
authorMike McQuaid2011-01-16 15:48:48 +0000
committerMike McQuaid2011-01-16 15:52:32 +0000
commite995ddde8e8186f8fd9651f3d6fe69546544692e (patch)
tree3e31a7b38d70efd7b9917cbb3f66c0620ec176c7 /Library/Formula/objective-caml.rb
parent2358d4b443403fb44bca02e7c81dc43a8b6c9ff9 (diff)
downloadhomebrew-e995ddde8e8186f8fd9651f3d6fe69546544692e.tar.bz2
Fix objective-caml prefix.
Closes #3863.
Diffstat (limited to 'Library/Formula/objective-caml.rb')
-rw-r--r--Library/Formula/objective-caml.rb4
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