diff options
| author | Jack Nagel | 2013-01-26 20:47:59 -0600 | 
|---|---|---|
| committer | Jack Nagel | 2013-01-26 20:47:59 -0600 | 
| commit | 7b5b25bd1e1773d34f43488d94a6637becc8d9ae (patch) | |
| tree | 67cae46f0a9b378fee3fabe73b693bdc3d645a81 | |
| parent | 615cc827a47cc1965f841409a3c17caacdd3c489 (diff) | |
| download | homebrew-7b5b25bd1e1773d34f43488d94a6637becc8d9ae.tar.bz2 | |
pdsh: use new optional deps
| -rw-r--r-- | Library/Formula/pdsh.rb | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/pdsh.rb b/Library/Formula/pdsh.rb index 7315e2d90..b563bd3ee 100644 --- a/Library/Formula/pdsh.rb +++ b/Library/Formula/pdsh.rb @@ -5,11 +5,10 @@ class Pdsh < Formula    url 'http://pdsh.googlecode.com/files/pdsh-2.28.tar.bz2'    sha1 'd83612e357b00566623e668fb24e93836de89fec' -  option "with-genders", "Compile with genders support."    option "without-dshgroups", "Compile without dshgroups which conflicts with genders. The option should be specified to load genders module first instead of dshgroups."    depends_on 'readline' -  depends_on 'genders' => :optional if build.include? 'with-genders' +  depends_on 'genders' => :optional    def install      args = ["--prefix=#{prefix}", @@ -20,7 +19,7 @@ class Pdsh < Formula              "--with-readline",              "--without-xcpu"] -    args << '--with-genders' if build.include? 'with-genders' +    args << '--with-genders' if build.with? 'genders'      args << ((build.include? 'without-dshgroups') ? '--without-dshgroups' : '--with-dshgroups')      system "./configure", *args  | 
