From 248f3d5f73cb3ddee70b47d0465e81cce56aeafc Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Wed, 23 Apr 2014 23:07:21 -0700 Subject: mg: fix clens include path for nonstandard prefix Fixes #28641. --- Library/Formula/mg.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Formula') 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" -- cgit v1.2.3