misc/138178: New gnutls (2.8.3) breaks freetds and freetds-devel build

Robert Kruus rob.kruus at gmail.com
Tue Aug 25 17:50:02 UTC 2009

>Number:         138178
>Category:       misc
>Synopsis:       New gnutls (2.8.3) breaks freetds and freetds-devel build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 25 17:50:01 UTC 2009
>Originator:     Robert Kruus
>Release:        FreeBSD 7.2-RELEASE
Government of Saskatchewan
FreeBSD 412039H.gos.ca 7.2-RELEASE FreeBSD 7.2-RELEASE #4: Wed May 20 11:39:05 CST 2009     root at 412039H.gos.ca:/usr/obj/usr/src/sys/GENERIC  amd64
The new version of gnutls no longer includes libgnutls-conifg which is aclled in the configure script of freetds-devel (and in freetds as well)

Not sure if the patch applies to the older branch as well.


Patch the configure file

Patch attached with submission follows:

--- configure	2009-08-25 11:00:06.374277283 -0600
+++ configure	2009-08-25 11:00:39.785608891 -0600
@@ -22997,8 +22997,8 @@
 #define HAVE_GNUTLS 1
-	CPPFLAGS="$CPPFLAGS `libgnutls-config --cflags`"
-	NETWORK_LIBS="$NETWORK_LIBS `libgnutls-config --libs`"
+	CPPFLAGS="$CPPFLAGS `pkg-config gnutls --cflags`"
+	NETWORK_LIBS="$NETWORK_LIBS `pkg-config gnutls --libs`"
 	echo "$as_me:$LINENO: checking if openssl is wanted" >&5
 echo $ECHO_N "checking if openssl is wanted... $ECHO_C" >&6


More information about the freebsd-bugs mailing list