From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 30 16:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 BFA09463 for ; Mon, 30 Sep 2013 16:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9DCD424EB for ; Mon, 30 Sep 2013 16:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8UGo0cg035762 for ; Mon, 30 Sep 2013 16:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8UGo0UF035761; Mon, 30 Sep 2013 16:50:00 GMT (envelope-from gnats) Resent-Date: Mon, 30 Sep 2013 16:50:00 GMT Resent-Message-Id: <201309301650.r8UGo0UF035761@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mike Carlson 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 ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182516: [PATCH] databases/freetds-devel : Add new build option for enable-odbc-wide X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 16:50:00 -0000 >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: