diff options
| author | Mike McQuaid | 2014-09-20 22:01:06 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2014-09-20 22:01:06 -0700 |
| commit | 91a9ca9645e5920358deba29b5230659c5f9a2df (patch) | |
| tree | c9ac78dab2b9853e356f71979958055815ce6894 /Library/Formula | |
| parent | c6fe55dc5c8b89e3e8c73ae4da3e16309f92ce4b (diff) | |
| download | homebrew-91a9ca9645e5920358deba29b5230659c5f9a2df.tar.bz2 | |
hevea: reported inreplace upstream.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/hevea.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/hevea.rb b/Library/Formula/hevea.rb index ab71f1f31..9a8138844 100644 --- a/Library/Formula/hevea.rb +++ b/Library/Formula/hevea.rb @@ -16,7 +16,9 @@ class Hevea < Formula depends_on "ghostscript" => :optional def install - inreplace "Makefile", "PREFIX=/usr/local", "PREFIX=#{prefix}" + # Emailed Luc.Maranget@inria.fr to ask for this change to be made. + inreplace "Makefile", "PREFIX=/usr/local", "PREFIX?=/usr/local" + ENV["PREFIX"] = prefix system "make" system "make", "install" end |
