aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-09-20 10:15:54 -0500
committerJack Nagel2013-09-21 19:29:51 -0500
commit38bca587f398e113f4d402f0b9278d9c49441ded (patch)
tree6a3c58a222ddacdf037605931a6e439579478da4 /Library/Formula
parent81cd8374216e71feed246bd2103e254b892b8e4e (diff)
downloadhomebrew-38bca587f398e113f4d402f0b9278d9c49441ded.tar.bz2
freetds: use spec deps
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/freetds.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/freetds.rb b/Library/Formula/freetds.rb
index 100ab8b15..93a35dd56 100644
--- a/Library/Formula/freetds.rb
+++ b/Library/Formula/freetds.rb
@@ -5,12 +5,9 @@ class Freetds < Formula
url 'http://mirrors.ibiblio.org/freetds/stable/freetds-0.91.tar.gz'
sha1 '3ab06c8e208e82197dc25d09ae353d9f3be7db52'
- head 'https://git.gitorious.org/freetds/freetds.git'
+ head do
+ url 'https://git.gitorious.org/freetds/freetds.git'
- depends_on "pkg-config" => :build
- depends_on "unixodbc" => :optional
-
- if build.head?
depends_on :automake
depends_on :libtool
end
@@ -19,6 +16,9 @@ class Freetds < Formula
option "enable-msdblib", "Enable Microsoft behavior in the DB-Library API where it diverges from Sybase's"
option "enable-sybase-compat", "Enable close compatibility with Sybase's ABI, at the expense of other features"
+ depends_on "pkg-config" => :build
+ depends_on "unixodbc" => :optional
+
def install
system "autoreconf -i" if build.head?