From 878b04049cd8d6d3ffe75fa472f6213a0106f4b6 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 26 Aug 2012 22:50:22 -0700 Subject: midgard2: use new dsl --- Library/Formula/midgard2.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/midgard2.rb b/Library/Formula/midgard2.rb index ac5ff1f75..b3e18ee49 100644 --- a/Library/Formula/midgard2.rb +++ b/Library/Formula/midgard2.rb @@ -12,13 +12,13 @@ class Midgard2 < Formula depends_on 'dbus-glib' depends_on 'libgda' - if ARGV.build_head? + if build.head? depends_on :automake depends_on :libtool end def install - if ARGV.build_head? + if build.head? system "autoreconf", "-i", "--force" system "automake" end -- cgit v1.2.3