Sha256: 97cee5d049e86b71ca0033fb415c363859ac59eaa6db2ef433199e92cb55960f

Contents?: true

Size: 524 Bytes

Versions: 6

Compression:

Stored size: 524 Bytes

Contents

require_relative './recipe'

module Ports
  class Freetds < Recipe
    def initialize(version)
      super('freetds', version)

      set_patches
    end

    private

    def configure_defaults
      opts = super

      opts << '--with-pic'
      opts << '--disable-odbc'
      opts << '--with-tdsver=7.3'

      if windows?
        opts << '--sysconfdir=C:/Sites'
        opts << '--enable-sspi'
      end

      opts
    end

    def set_patches
      self.patch_files.concat get_patches(name, version)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tiny_tds-3.1.0-x64-mingw-ucrt tasks/ports/freetds.rb
tiny_tds-3.1.0-x64-mingw32 tasks/ports/freetds.rb
tiny_tds-3.1.0 tasks/ports/freetds.rb
tiny_tds-3.0.0-x64-mingw32 tasks/ports/freetds.rb
tiny_tds-3.0.0-x64-mingw-ucrt tasks/ports/freetds.rb
tiny_tds-3.0.0 tasks/ports/freetds.rb