From 511d309374f693231938eecfda7202c2a6ce3e4d Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 9 Jul 2010 12:40:41 -0700 Subject: Add ARGV.build_head? and use it. This allows both "--HEAD" and "-H" to be used consistently, which was the intention in the first place. --- Library/Formula/clojure-contrib.rb | 4 ++-- Library/Formula/clojure.rb | 2 +- Library/Formula/coffee-script.rb | 4 ++-- Library/Formula/git-flow.rb | 2 +- Library/Formula/guile.rb | 4 ++-- Library/Formula/id3lib.rb | 2 +- Library/Formula/libdrizzle.rb | 2 +- Library/Formula/libevent.rb | 2 +- Library/Formula/maven.rb | 2 +- Library/Formula/nginx.rb | 6 +++--- Library/Formula/ppl.rb | 2 +- Library/Formula/ruby.rb | 10 +++++----- Library/Formula/schroedinger.rb | 2 +- Library/Homebrew/extend/ARGV.rb | 3 +++ 14 files changed, 25 insertions(+), 22 deletions(-) (limited to 'Library') diff --git a/Library/Formula/clojure-contrib.rb b/Library/Formula/clojure-contrib.rb index 576e84f20..f99729307 100644 --- a/Library/Formula/clojure-contrib.rb +++ b/Library/Formula/clojure-contrib.rb @@ -7,14 +7,14 @@ class ClojureContrib 'develop' else head 'git://github.com/nvie/gitflow.git', :tag => '0.2.1' diff --git a/Library/Formula/guile.rb b/Library/Formula/guile.rb index 4c9f02000..2d468ff13 100644 --- a/Library/Formula/guile.rb +++ b/Library/Formula/guile.rb @@ -5,7 +5,7 @@ class Guile DATA } - end unless ARGV.include? "--HEAD" + end unless ARGV.build_head? def install system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" diff --git a/Library/Formula/libdrizzle.rb b/Library/Formula/libdrizzle.rb index 6503e96f2..9e811f60d 100644 --- a/Library/Formula/libdrizzle.rb +++ b/Library/Formula/libdrizzle.rb @@ -7,7 +7,7 @@ class Libdrizzle :svn - md5 '9fc5941bda150ac0a33b299e1e53654c' unless ARGV.include? '--HEAD' + md5 '9fc5941bda150ac0a33b299e1e53654c' depends_on 'readline' - + def options [ ["--with-suffix", "Add a 19 suffix to commands"], ["--with-doc", "Install with the Ruby documentation"], ] end - + def install fails_with_llvm @@ -35,14 +35,14 @@ class Ruby