This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

freetds: compile against SSL

SSL is needed for Azure support, and surprisingly
the build system can find this location by itself.
  • Loading branch information...
1 parent 3b131ab commit 768ee939a6df680f468c3f3a0b82de5557c4a490 @adamv adamv committed Jun 22, 2012
Showing with 6 additions and 3 deletions.
  1. +6 −3 Library/Formula/freetds.rb
@@ -5,16 +5,19 @@ 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
[['--with-unixodbc', "Compile against unixODBC."]]
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}"

0 comments on commit 768ee93

Please sign in to comment.