ports/123378: pwlib won't compile of odbc is installed

Steve Ames steve at energistic.com
Sun May 4 00:10:01 UTC 2008


>Number:         123378
>Category:       ports
>Synopsis:       pwlib won't compile of odbc is installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 04 00:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list