aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mg.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/mg.rb b/Library/Formula/mg.rb
index 43881f4b2..6f522c66e 100644
--- a/Library/Formula/mg.rb
+++ b/Library/Formula/mg.rb
@@ -8,6 +8,11 @@ class Mg < Formula
depends_on 'clens'
def install
+ # makefile hardcodes include path to clens; since it's a
+ # nonstandard path, Homebrew's standard include paths won't
+ # fix this for people with nonstandard prefixes.
+ inreplace 'Makefile', '/usr/local', prefix
+
system "make"
bin.install "mg"
doc.install "tutorial"