aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/psqlodbc.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/Library/Formula/psqlodbc.rb b/Library/Formula/psqlodbc.rb
index 525b6a26f..f3767175c 100644
--- a/Library/Formula/psqlodbc.rb
+++ b/Library/Formula/psqlodbc.rb
@@ -1,12 +1,5 @@
require "formula"
-class PostgresqlInstalled < Requirement
- fatal true
- default_formula "postgresql"
-
- satisfy { which "pg_config" }
-end
-
class Psqlodbc < Formula
homepage "http://www.postgresql.org/"
url "http://ftp.postgresql.org/pub/odbc/versions/src/psqlodbc-09.03.0210.tar.gz"
@@ -23,7 +16,7 @@ class Psqlodbc < Formula
depends_on "openssl"
depends_on "unixodbc"
- depends_on PostgresqlInstalled
+ depends_on :postgresql
def install
args = ["--prefix=#{prefix}",