aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-09-03 12:29:03 -0700
committerAdam Vandenberg2012-09-03 12:29:03 -0700
commitb9d33ff10349b05908ac213be19395c8bba4dd2b (patch)
tree27fdf64825030fe24c348741dd9d3da3a2685d65 /Library/Formula
parent14aa341eb3d941d5e34c01acd18493752d508413 (diff)
downloadhomebrew-b9d33ff10349b05908ac213be19395c8bba4dd2b.tar.bz2
libogg: use new dsl
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"