From nobody@FreeBSD.org  Mon Sep 30 16:46:30 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 138ED329
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Sep 2013 16:46:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 014E724B7
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Sep 2013 16:46:30 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8UGkTuh033140
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Sep 2013 16:46:29 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8UGkTbO033139;
	Mon, 30 Sep 2013 16:46:29 GMT
	(envelope-from nobody)
Message-Id: <201309301646.r8UGkTbO033139@oldred.freebsd.org>
Date: Mon, 30 Sep 2013 16:46:29 GMT
From: Mike Carlson <mike@bayphoto.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] databases/freetds-devel : Add new build option for enable-odbc-wide
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: fbsd-ports@opsec.eu

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 30 16:50:00 UTC 2013
>Closed-Date:    Thu Nov 07 13:16:59 UTC 2013
>Last-Modified:  Thu Nov  7 13:20:00 UTC 2013
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Sep 30 16:50:09 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182516 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: fbsd-ports@opsec.eu
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/182516: [PATCH] databases/freetds-devel : Add new build option for enable-odbc-wide
Date: Mon, 30 Sep 2013 16:50:08 UT

 Maintainer of databases/freetds-devel,
 
 Please note that PR ports/182516 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182516
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Kurt Jaeger <pi@opsec.eu>
To: bug-followup@FreeBSD.org
Cc: fbsd-ports@opsec.eu, mike@bayphoto.com
Subject: Re: ports/182516: [PATCH] databases/freetds-devel : Add new build
 option for enable-odbc-wide
Date: Mon, 30 Sep 2013 19:58:30 +0200

 Hi!
 
 > Please note that PR ports/182516 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182516
 
 Approve! Thanks!
 
 -- 
 pi@opsec.eu            +49 171 3101372                         7 years to go !
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Tue Oct 1 01:18:46 UTC 2013 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182516 
State-Changed-From-To: open->closed 
State-Changed-By: wg 
State-Changed-When: Thu Nov 7 13:16:58 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182516 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/182516: commit references a PR
Date: Thu,  7 Nov 2013 13:17:03 +0000 (UTC)

 Author: wg
 Date: Thu Nov  7 13:16:47 2013
 New Revision: 333090
 URL: http://svnweb.freebsd.org/changeset/ports/333090
 
 Log:
   databases/freetds-devel: add option for odbc-wide
   
   PR:		ports/182516
   Submitted by:	Mike Carlson <mike bayphoto.com>
   Approved by:	maintainer
 
 Modified:
   head/databases/freetds-devel/Makefile
 
 Modified: head/databases/freetds-devel/Makefile
 ==============================================================================
 --- head/databases/freetds-devel/Makefile	Thu Nov  7 13:09:34 2013	(r333089)
 +++ head/databases/freetds-devel/Makefile	Thu Nov  7 13:16:47 2013	(r333090)
 @@ -28,7 +28,7 @@ MAN1=		datacopy.1 freebcp.1 tsql.1 bsqld
  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 @@ GNUTLS_DESC=	Use GnuTLS
  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 @@ USE_OPENSSL=	yes
  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
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
