diff options
| author | Adam Vandenberg | 2012-08-31 13:58:04 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-31 13:58:04 -0700 |
| commit | c114e9bb88b5a262975d2c24718b5d38606a208f (patch) | |
| tree | 761e5132c77450151a94e4dc97ddee2d495d1d05 | |
| parent | a9017eb230c46dd4821e7929d55d583e6f61ebe1 (diff) | |
| download | homebrew-c114e9bb88b5a262975d2c24718b5d38606a208f.tar.bz2 | |
gource: use new dsl
| -rw-r--r-- | Library/Formula/gource.rb | 6 |
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}", |
