aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/freetds.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/freetds.rb b/Library/Formula/freetds.rb
index 631e78a2b..100ab8b15 100644
--- a/Library/Formula/freetds.rb
+++ b/Library/Formula/freetds.rb
@@ -16,6 +16,8 @@ class Freetds < Formula
end
option :universal
+ 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"
def install
system "autoreconf -i" if build.head?
@@ -30,6 +32,14 @@ class Freetds < Formula
args << "--with-unixodbc=#{Formula.factory('unixodbc').prefix}"
end
+ if build.include? "enable-msdblib"
+ args << "--enable-msdblib"
+ end
+
+ if build.include? "enable-sybase-compat"
+ args << "--enable-sybase-compat"
+ end
+
ENV.universal_binary if build.universal?
system "./configure", *args
system 'make'