aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libogg.rb4
1 files changed, 2 insertions, 2 deletions
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"