ports/databases/freetds/files/patch-configure
Martin Wilke 660ca64b62 - Fix build if gnuTLS enabled is
PR:		137867
Reported by:	Andrei Lavreniyuk <andy.lavr@reactor-xg.kiev.ua>
Approved by:	maintainer timeout
Feature safe:	yes
2009-09-19 12:54:36 +00:00

13 lines
504 B
Text

--- configure.orig 2009-09-19 14:23:09.000000000 +0200
+++ configure 2009-09-19 14:23:43.000000000 +0200
@@ -20088,8 +20088,8 @@
#define HAVE_GNUTLS 1
_ACEOF
- CPPFLAGS="$CPPFLAGS `libgnutls-config --cflags`"
- NETWORK_LIBS="$NETWORK_LIBS `libgnutls-config --libs`"
+CPPFLAGS="$CPPFLAGS `pkg-config --cflags gnutls`"
+NETWORK_LIBS="$NETWORK_LIBS `pkg-config --libs gnutls`"
else
echo "$as_me:$LINENO: checking if openssl is wanted" >&5
echo $ECHO_N "checking if openssl is wanted... $ECHO_C" >&6