Skip to content
Browse files

s/HOMEBREW_PREFIX/prefix/

  • Loading branch information...
1 parent 8a2d403 commit 79357e918c30a0c8af17e235b2201cb33928d773 @rapha committed Jul 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Library/Formula/jocaml.rb
View
4 Library/Formula/jocaml.rb
@@ -11,7 +11,7 @@ class Jocaml < Formula
skip_clean :all
def install
- system "./configure", "--prefix", HOMEBREW_PREFIX, "--mandir", man
+ system "./configure", "--prefix", prefix, "--mandir", man
ENV.deparallelize # Builds are not parallel-safe, esp. with many cores
system "make world"
system "make opt"
@@ -21,6 +21,6 @@ def install
# 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"
+ ln_s prefix+"lib/ocaml/site-lib", lib+"ocaml/site-lib"
end
end

0 comments on commit 79357e9

Please sign in to comment.
Something went wrong with that request. Please try again.