Fix Gource for non-/usr/local installs.

This commit is contained in:
Adam Vandenberg 2010-07-31 10:25:49 -07:00
parent 3f2a587745
commit fbb554a248

View file

@ -21,6 +21,9 @@ class Gource <Formula
ENV.x11
ENV.prepend 'PATH', "/usr/X11/bin", ":"
# For non-/usr/local installs
ENV.append "CXXFLAGS", "-I#{HOMEBREW_PREFIX}/include"
system "autoreconf -f -i" unless File.exist? "configure"
system "./configure", "--disable-dependency-tracking",