From b9d33ff10349b05908ac213be19395c8bba4dd2b Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 3 Sep 2012 12:29:03 -0700 Subject: libogg: use new dsl --- Library/Formula/libogg.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/libogg.rb b/Library/Formula/libogg.rb index 4a6e3bd29..276417685 100644 --- a/Library/Formula/libogg.rb +++ b/Library/Formula/libogg.rb @@ -7,14 +7,14 @@ class Libogg < Formula head 'http://svn.xiph.org/trunk/ogg' - if ARGV.build_head? + if build.head? depends_on :autoconf depends_on :automake depends_on :libtool end def install - system "./autogen.sh" if ARGV.build_head? + system "./autogen.sh" if build.head? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make" -- cgit v1.2.3