From a7e193b06b6fb4e67fddbc32d8cb4c8ecc41c9c3 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 25 Aug 2012 23:36:33 -0700 Subject: opus: use new dsl --- Library/Formula/opus.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/opus.rb b/Library/Formula/opus.rb index 01d068b7c..155572ca7 100644 --- a/Library/Formula/opus.rb +++ b/Library/Formula/opus.rb @@ -7,13 +7,13 @@ class Opus < Formula head 'https://git.xiph.org/opus.git' - if ARGV.build_head? + if build.head? 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", "--disable-doc", "--prefix=#{prefix}" system "make install" -- cgit v1.2.3