From 37b801ed5023f69a3c4742d8d826e9858085452d Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 17 Aug 2009 07:52:07 +0000 Subject: Add a hack to use pkg-config instead of the now absent libgnutls-config. --- net-im/loudmouth/files/patch-configure | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 net-im/loudmouth/files/patch-configure (limited to 'net-im/loudmouth') diff --git a/net-im/loudmouth/files/patch-configure b/net-im/loudmouth/files/patch-configure new file mode 100644 index 000000000000..2c37af283331 --- /dev/null +++ b/net-im/loudmouth/files/patch-configure @@ -0,0 +1,28 @@ +--- configure.orig 2009-08-17 03:50:55.000000000 -0400 ++++ configure 2009-08-17 03:50:59.000000000 -0400 +@@ -21983,12 +21983,14 @@ fi + if test x$libgnutls_config_prefix != x ; then + libgnutls_config_args="$libgnutls_config_args --prefix=$libgnutls_config_prefix" + if test x${LIBGNUTLS_CONFIG+set} != xset ; then +- LIBGNUTLS_CONFIG=$libgnutls_config_prefix/bin/libgnutls-config ++ LIBGNUTLS_CONFIG=pkg-config + fi + fi + ++ libgnutls_config_args="$libgnutls_config_args gnutls" ++ + # Extract the first word of "libgnutls-config", so it can be a program name with args. +-set dummy libgnutls-config; ac_word=$2 ++set dummy pkg-config; ac_word=$2 + { echo "$as_me:$LINENO: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } + if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then +@@ -22037,7 +22039,7 @@ echo $ECHO_N "checking for libgnutls - v + else + LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags` + LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs` +- libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version` ++ libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --modversion` + + + ac_save_CFLAGS="$CFLAGS" -- cgit v1.2.3