aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMarc Abramowitz2013-07-18 09:10:33 -0700
committerAdam Vandenberg2013-07-18 14:11:02 -0700
commite57dab78e14be21902b2190f3b5fd027a50685fb (patch)
treeb22e01ba0fedcc4f11895160ee67b6d08eb1b5af /Library/Formula
parent394d7be6a415bb46552131e9e18e652f0fc33a40 (diff)
downloadhomebrew-e57dab78e14be21902b2190f3b5fd027a50685fb.tar.bz2
freetds.rb: Enable support for building FreeTDS from HEAD (gitorious)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/freetds.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/freetds.rb b/Library/Formula/freetds.rb
index 0a700e64d..362b41111 100644
--- a/Library/Formula/freetds.rb
+++ b/Library/Formula/freetds.rb
@@ -5,10 +5,19 @@ 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'
+
depends_on "pkg-config" => :build
depends_on "unixodbc" => :optional
+ if build.head?
+ depends_on :automake
+ depends_on :libtool
+ end
+
def install
+ system "autoreconf -i" if build.head?
+
args = %W[--prefix=#{prefix}
--with-openssl=/usr/bin
--with-tdsver=7.1