Date: Mon, 30 Sep 2013 16:46:29 GMT From: Mike Carlson <mike@bayphoto.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182516: [PATCH] databases/freetds-devel : Add new build option for enable-odbc-wide Message-ID: <201309301646.r8UGkTbO033139@oldred.freebsd.org> Resent-Message-ID: <201309301650.r8UGo0UF035761@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182516 >Category: ports >Synopsis: [PATCH] databases/freetds-devel : Add new build option for enable-odbc-wide >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Sep 30 16:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Mike Carlson >Release: 9.1-RELEASE >Organization: Bay Photo Lab >Environment: FreeBSD api-1.discdrive.bayphoto.com 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep 9 21:34:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I'd like to add the building time configurable, --enable-odbc-wide to the freetds-devel port, we require it for our environment. See attached svn diff >How-To-Repeat: >Fix: Patch attached with submission follows: Index: freetds-devel/Makefile =================================================================== --- freetds-devel/Makefile (revision 328829) +++ freetds-devel/Makefile (working copy) @@ -28,7 +28,7 @@ MAN5= freetds.conf.5 # OPTIONS_DEFINE= OPENSSL GNUTLS IODBC UNIXODBC MSDBLIB -OPTIONS_DEFINE= MSDBLIB +OPTIONS_DEFINE= MSDBLIB ODBCWIDE OPTIONS_SINGLE= ODBC SSL OPTIONS_SINGLE_ODBC= IODBC UNIXODBC @@ -41,6 +41,7 @@ IODBC_DESC= Depend on iodbc UNIXODBC_DESC= Depend on unixodbc MSDBLIB_DESC= MS SQL Server compatibility (breaks databases/sybtcl) +ODBCWIDE_DESC= Enable Wide ODBC Support CONFLICTS= freetds-0.64.[0-9] @@ -52,6 +53,10 @@ CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} .endif +.if ${PORT_OPTIONS:ODBCWIDE} +CONFIGURE_ARGS+= --enable-odbc-wide +.endif + .if ${PORT_OPTIONS:MGNUTLS} LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls CONFIGURE_ARGS+= --with-gnutls >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309301646.r8UGkTbO033139>