ports/182516: [PATCH] databases/freetds-devel : Add new build option for enable-odbc-wide

Mike Carlson mike at bayphoto.com
Mon Sep 30 16:50:00 UTC 2013


>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 at 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:


More information about the freebsd-ports-bugs mailing list