diff --git a/homebrew/prorab.rb.in b/homebrew/prorab.rb.in index 76b7ab3..fd32126 100644 --- a/homebrew/prorab.rb.in +++ b/homebrew/prorab.rb.in @@ -9,7 +9,7 @@ class Prorab < Formula # use gmake here because otherwise homebrew uses default Mac's make which is of too old version 3.81 def install - ENV['PATH'] += ':/usr/local/bin' + ENV['PATH'] += ':#{ENV['HOMEBREW_PREFIX']}/bin' system "gmake", "--include-dir=#{ENV['HOMEBREW_PREFIX']}/include", "install", "PREFIX=#{prefix}" end