From steve@energistic.com  Sun May  4 00:01:41 2008
Return-Path: <steve@energistic.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7EB681065685
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 May 2008 00:01:41 +0000 (UTC)
	(envelope-from steve@energistic.com)
Received: from energistic.com (mail.energistic.com [216.54.148.60])
	by mx1.freebsd.org (Postfix) with ESMTP id 36B878FC1D
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 May 2008 00:01:40 +0000 (UTC)
	(envelope-from steve@energistic.com)
Received: from energistic.com (localhost [127.0.0.1])
	by energistic.com (8.14.2/8.14.2) with ESMTP id m4401dWW066580
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 3 May 2008 20:01:39 -0400 (EDT)
	(envelope-from steve@energistic.com)
Received: (from steve@localhost)
	by energistic.com (8.14.2/8.14.2/Submit) id m4401diO065048;
	Sat, 3 May 2008 20:01:39 -0400 (EDT)
	(envelope-from steve)
Message-Id: <200805040001.m4401diO065048@energistic.com>
Date: Sat, 3 May 2008 20:01:39 -0400 (EDT)
From: Steve Ames <steve@energistic.com>
Reply-To: Steve Ames <steve@energistic.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: pwlib won't compile of odbc is installed
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         123378
>Category:       ports
>Synopsis:       devel/pwlib won't compile of odbc is installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 04 00:10:00 UTC 2008
>Closed-Date:    Sun May 04 05:31:26 UTC 2008
>Last-Modified:  Sun May  4 05:40:04 UTC 2008
>Originator:     Steve Ames
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD energistic.com 7.0-STABLE FreeBSD 7.0-STABLE #108: Fri May 2 19:37:56 EDT 2008 steve@energistic.com:/usr/obj/usr/src/sys/VV i386


	
>Description:
	if unixODBC is installed pwlib will not compile. As near as I can
	tell, nothing actually used the pwlib odbc support so I am disabling
	it. I deliberately did not make an option to enable it since doing
	so just keeps the port from compiling.
>How-To-Repeat:
	
>Fix:

	apply patch found at http://steve.energistic.com/h323-ports/pwlib-1.12.0.3.patch

	Also contained here:


diff -ruN pwlib.old/Makefile pwlib/Makefile
--- pwlib.old/Makefile	2008-04-13 08:43:54.000000000 -0400
+++ pwlib/Makefile	2008-05-03 19:33:06.000000000 -0400
@@ -7,7 +7,7 @@
 
 PORTNAME=	pwlib
 PORTVERSION=	1.12.0
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=    ${MASTER_SITE_SOURCEFORGE}
@@ -46,6 +46,7 @@
 .else
 CONFIGURE_ENV+=	ATOMICITY_H="<bits/atomicity.h>"
 .endif
+
 # if explicitely asked for, depend upon it
 .if defined(WITH_SDL)
 USE_SDL+=	sdl
@@ -85,6 +86,11 @@
 MAKE_ENV+=	OPENLDAPLIBDIR="${LOCALBASE}/lib"
 .endif
 
+#disable OBDC support... it doesn't compile and nothing _seems_ to
+#actually use it. If you do have something that requires this please
+#send patches!
+CONFIGURE_ARGS+=	--disable-odbc
+
 #enable esound support
 .if defined(WITH_ESOUND) && ${HAVE_GNOME:Mesound}!=""
 USE_GNOME+=	esound


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: rafan 
State-Changed-When: Sun May 4 05:31:25 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/123378: commit references a PR
Date: Sun,  4 May 2008 05:31:21 +0000 (UTC)

 rafan       2008-05-04 05:31:17 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/pwlib          Makefile 
   Log:
   - Disable ODBC by default. When ODBC is installed, it breaks build and seems
     nothing actually use it.
   - While I'm here, use TAB after variable assignment.
   
   PR:             ports/123378
   Submitted by:   Steve Ames <steve at energistic.com> (maintainer)
   
   Revision  Changes    Path
   1.47      +8 -2      ports/devel/pwlib/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
