diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ekg2.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/ekg2.rb b/Library/Formula/ekg2.rb index 2ec7dbaf1..6d0091b36 100644 --- a/Library/Formula/ekg2.rb +++ b/Library/Formula/ekg2.rb @@ -7,9 +7,7 @@ class Ekg2 < Formula depends_on 'pkg-config' => :build depends_on 'readline' - depends_on 'libgadu' if build.include? "with-libgadu" - - option "with-libgadu", "Compiles ekg2 with gadu-gadu support" + depends_on 'libgadu' => :optional def install readline = Formula.factory 'readline' @@ -22,7 +20,7 @@ class Ekg2 < Formula "--without-gtk", "--enable-unicode"] - args << build.include?("with-libgadu") ? "--with-libgadu" : "--without-libgadu" + args << build.with?("libgadu") ? "--with-libgadu" : "--without-libgadu" system "./configure", *args system "make install" |
