aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-06-02 17:13:06 -0500
committerJack Nagel2013-06-02 17:13:06 -0500
commit8d82e88742ad84c113b905f3d9915d07daa6a3fb (patch)
treeb2c7595191277c66c7419836005a03caa290e111 /Library/Formula
parent06ca615fb553c375cca02ed57eb67e8d326f351a (diff)
downloadhomebrew-8d82e88742ad84c113b905f3d9915d07daa6a3fb.tar.bz2
libzdb: use recommended deps
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libzdb.rb16
1 files changed, 6 insertions, 10 deletions
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"