aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-04-22 17:04:44 -0500
committerJack Nagel2014-04-22 17:04:44 -0500
commit0a2dc960b8f97ac171a2a65b3ef26644f6e4b7af (patch)
tree2409bae7160ce8bef21694917c2bbaa1d982ad15 /Library
parent43e52c3d0f712305fbea183a756d27600a06a256 (diff)
downloadhomebrew-0a2dc960b8f97ac171a2a65b3ef26644f6e4b7af.tar.bz2
freetds: use Homebrew's openssl
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/freetds.rb12
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/freetds.rb b/Library/Formula/freetds.rb
index acc46ff7b..e6b161342 100644
--- a/Library/Formula/freetds.rb
+++ b/Library/Formula/freetds.rb
@@ -20,15 +20,17 @@ class Freetds < Formula
depends_on "pkg-config" => :build
depends_on "unixodbc" => :optional
+ depends_on "openssl"
def install
system "autoreconf -i" if build.head?
- args = %W[--prefix=#{prefix}
- --with-openssl=#{MacOS.sdk_path}/usr
- --with-tdsver=7.1
- --mandir=#{man}
- ]
+ args = %W[
+ --prefix=#{prefix}
+ --with-openssl=#{Formula["openssl"].opt_prefix}"
+ --with-tdsver=7.1
+ --mandir=#{man}
+ ]
if build.with? "unixodbc"
args << "--with-unixodbc=#{Formula['unixodbc'].prefix}"