aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/eina.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/eina.rb b/Library/Formula/eina.rb
index 498d2f440..45756a775 100644
--- a/Library/Formula/eina.rb
+++ b/Library/Formula/eina.rb
@@ -7,16 +7,16 @@ class Eina < Formula
head 'http://svn.enlightenment.org/svn/e/trunk/eina/'
- if ARGV.build_head?
+ depends_on 'pkg-config' => :build
+
+ if build.head?
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
- depends_on 'pkg-config' => :build
-
def install
- system "./autogen.sh" if ARGV.build_head?
+ system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"