From 15f6c6196f563757d3d80dde968fa427d0f5a2cb Mon Sep 17 00:00:00 2001 From: Kris Zaragoza Date: Mon, 5 May 2014 09:14:00 -0400 Subject: [PATCH] freetds: add flag for Kerberos support Closes Homebrew/homebrew#28970. Signed-off-by: Adam Vandenberg --- Formula/freetds.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Formula/freetds.rb b/Formula/freetds.rb index e6b1613429..97123343dd 100644 --- a/Formula/freetds.rb +++ b/Formula/freetds.rb @@ -17,6 +17,7 @@ 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" option "enable-odbc-wide", "Enable odbc wide, prevent unicode - MemoryError's" + option "enable-krb", "Enable Kerberos support" depends_on "pkg-config" => :build depends_on "unixodbc" => :optional @@ -48,6 +49,10 @@ class Freetds < Formula args << "--enable-odbc-wide" end + if build.include? "enable-krb" + args << "--enable-krb5" + end + ENV.universal_binary if build.universal? system "./configure", *args system 'make'