1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

- 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
This commit is contained in:
Martin Wilke 2009-09-19 12:54:36 +00:00
parent 74ff45081b
commit 660ca64b62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241729

View File

@ -0,0 +1,13 @@
--- 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