546f30a0b3
Pkgsrc changes: + Support user-destdir installation. + Document the way that pkgsrc handles the freetds documentation. + Use GENERATE_PLIST instead of creating a .PLIST.doc. + Remove patch-ac and patch-ad due to reports of success compiling FreeTDS on Mac OS X without changes on the freetds@ mailing list. Package changes: - libtds.* has been removed. Its objects are now linked directly into the other client libraries. - support TLSv1 sessions to MSSQL servers - fixed timeout handling - added protocol version discovery - reduced network bandwidth use on Linux and -BSD - fixed conversion NUMERIC->NUMERIC changing precision/scale - added named instance support (mssql2k) - many other code improvements and bug fixes - improved pool server - ODBC: - cursors (mssql) - fixed database setting - fixed SQLGetData result - fixed compute handling in ODBC - paramset support
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# $NetBSD: options.mk,v 1.3 2008/05/08 13:28:39 jlam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.freetds
|
|
PKG_OPTIONS_OPTIONAL_GROUPS+= odbc tls
|
|
PKG_OPTIONS_GROUP.odbc= iodbc #unixodbc
|
|
PKG_OPTIONS_GROUP.tls= gnutls openssl
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= odbc
|
|
|
|
###
|
|
### Whether to build with iODBC to enable ODBC access to TDS servers.
|
|
###
|
|
.if !empty(PKG_OPTIONS:Miodbc)
|
|
ODBC_DRIVER= yes
|
|
. include "../../databases/iodbc/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-odbc
|
|
CONFIGURE_ARGS+= --with-iodbc=${BUILDLINK_PREFIX.iodbc}
|
|
PLIST.odbc= yes
|
|
.endif
|
|
|
|
###
|
|
### Whether to build with unixODBC to enable ODBC access to TDS servers.
|
|
###
|
|
.if !empty(PKG_OPTIONS:Munixodbc)
|
|
. include "../../databases/unixodbc/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-odbc
|
|
CONFIGURE_ARGS+= --with-unixodbc=${BUILDLINK_PREFIX.unixodbc}
|
|
PLIST.odbc= yes
|
|
.endif
|
|
|
|
.if empty(PKG_OPTIONS:Miodbc) && empty(PKG_OPTIONS:Munixodbc)
|
|
CONFIGURE_ARGS+= --disable-odbc
|
|
.endif
|
|
|
|
###
|
|
### Use GNU TLS for TLSv1 encrypted session to MSSQL servers.
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mgnutls)
|
|
.include "../../security/gnutls/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-gnutls
|
|
.else
|
|
CONFIGURE_ARGS+= --without-gnutls
|
|
.endif
|
|
|
|
###
|
|
### Use OpenSSL for TLSv1 encrypted session to MSSQL servers.
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mopenssl)
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl:Q}
|
|
.else
|
|
CONFIGURE_ARGS+= --without-openssl
|
|
.endif
|