diff options
| author | Adam Vandenberg | 2012-06-21 20:34:10 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-06-21 20:34:10 -0700 |
| commit | 768ee939a6df680f468c3f3a0b82de5557c4a490 (patch) | |
| tree | c1838279c79915723594ffe54bbafd1b32680883 /Library/Formula | |
| parent | 3b131abe8f329109106ad27f5a259b0938890ffc (diff) | |
| download | homebrew-768ee939a6df680f468c3f3a0b82de5557c4a490.tar.bz2 | |
freetds: compile against SSL
SSL is needed for Azure support, and surprisingly
the build system can find this location by itself.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/freetds.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/freetds.rb b/Library/Formula/freetds.rb index 174226e62..f4a97c101 100644 --- a/Library/Formula/freetds.rb +++ b/Library/Formula/freetds.rb @@ -5,6 +5,7 @@ class Freetds < Formula url 'http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.91.tar.gz' sha1 '3ab06c8e208e82197dc25d09ae353d9f3be7db52' + depends_on "pkg-config" => :build depends_on "unixodbc" if ARGV.include? "--with-unixodbc" def options @@ -12,9 +13,11 @@ class Freetds < Formula end def install - args = ["--prefix=#{prefix}", - "--with-tdsver=7.1", - "--mandir=#{man}"] + args = %W[--prefix=#{prefix} + --with-openssl=/usr/bin + --with-tdsver=7.1 + --mandir=#{man} + ] if ARGV.include? "--with-unixodbc" args << "--with-unixodbc=#{Formula.factory('unixodbc').prefix}" |
