From 8d82e88742ad84c113b905f3d9915d07daa6a3fb Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 2 Jun 2013 17:13:06 -0500 Subject: libzdb: use recommended deps --- Library/Formula/libzdb.rb | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/libzdb.rb b/Library/Formula/libzdb.rb index dab290ada..238f4870b 100644 --- a/Library/Formula/libzdb.rb +++ b/Library/Formula/libzdb.rb @@ -5,22 +5,18 @@ class Libzdb < Formula url 'http://tildeslash.com/libzdb/dist/libzdb-2.11.2.tar.gz' sha1 'a1f848dcf666566d7a481e68fdd6ad58268023f0' - option 'without-sqlite', "Compile without SQLite support" - option 'without-postgresql', "Compile without PostgreSQL support" - option 'without-mysql', "Compile without MySQL support" - - depends_on :postgresql unless build.include? 'without-postgresql' - depends_on :mysql unless build.include? 'without-mysql' - depends_on 'sqlite' unless build.include? 'without-sqlite' + depends_on :postgresql => :recommended + depends_on :mysql => :recommended + depends_on 'sqlite' => :recommended def install args = ["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"] - args << "--without-sqlite" if build.include? 'without-sqlite' - args << "--without-mysql" if build.include? 'without-mysql' - args << "--without-postgresql" if build.include? 'without-postgresql' + args << "--without-postgresql" if build.without? 'postgresql' + args << "--without-mysql" if build.without? 'mysql' + args << "--without-sqlite" if build.without? 'sqlite' system "./configure", *args system "make install" -- cgit v1.2.3