This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix objective-caml prefix.

Closes #3863.
  • Loading branch information...
1 parent 2358d4b commit e995ddde8e8186f8fd9651f3d6fe69546544692e @MikeMcQuaid MikeMcQuaid committed Jan 16, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit e995ddd

Please sign in to comment.