aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-31 13:58:04 -0700
committerAdam Vandenberg2012-08-31 13:58:04 -0700
commitc114e9bb88b5a262975d2c24718b5d38606a208f (patch)
tree761e5132c77450151a94e4dc97ddee2d495d1d05
parenta9017eb230c46dd4821e7929d55d583e6f61ebe1 (diff)
downloadhomebrew-c114e9bb88b5a262975d2c24718b5d38606a208f.tar.bz2
gource: use new dsl
-rw-r--r--Library/Formula/gource.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/gource.rb b/Library/Formula/gource.rb
index d6639b3b0..081e60006 100644
--- a/Library/Formula/gource.rb
+++ b/Library/Formula/gource.rb
@@ -7,12 +7,12 @@ class Gource < Formula
head 'https://github.com/acaudwell/Gource.git'
- if ARGV.build_head?
+ if build.head?
depends_on :automake
depends_on :libtool
end
- depends_on :x11 # for Freetype
+ depends_on :freetype
depends_on 'pkg-config' => :build
depends_on 'glm' => :build
@@ -34,7 +34,7 @@ class Gource < Formula
# For non-/usr/local installs
ENV.append "CXXFLAGS", "-I#{HOMEBREW_PREFIX}/include"
- system "autoreconf -f -i" if ARGV.build_head?
+ system "autoreconf -f -i" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",