Blame patches/weechat-2.7.local.patch

Lucio Andrés Illanes Albornoz af7527
--- weechat-2.7/configure.orig	2020-02-09 23:15:37.432482865 +0000
Lucio Andrés Illanes Albornoz af7527
+++ weechat-2.7/configure	2020-02-09 23:17:57.591493077 +0000
Lucio Andrés Illanes Albornoz af7527
@@ -22793,8 +22793,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
 #                                  pkg-config
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
 # ------------------------------------------------------------------------------
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
 
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
-PKGCONFIG=""
Lucio Andrés Illanes Albornoz af7527
-for ac_prog in pkg-config
Lucio Andrés Illanes Albornoz af7527
+for ac_prog in $PKG_CONFIG
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
 do
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
   # Extract the first word of "$ac_prog", so it can be a program name with args.
Lucio Andrés Illanes Albornoz af7527
 set dummy $ac_prog; ac_word=$2
Lucio Andrés Illanes Albornoz af7527
@@ -24756,8 +24755,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 14c984
 else
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 $as_echo "yes" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 14c984
-    GCRYPT_CFLAGS=`libgcrypt-config --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
-    GCRYPT_LFLAGS=`libgcrypt-config --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
+    GCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) eaf9cb
+    GCRYPT_LFLAGS=`$LIBGCRYPT_CONFIG --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 
Lucio Andrés Illanes Albornoz (arab, vxp) d22fca
 fi
Lucio Andrés Illanes Albornoz af7527
@@ -24834,8 +24833,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
     else
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 $as_echo "yes" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
-        GNUTLS_CFLAGS=`pkg-config gnutls --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
-        GNUTLS_LFLAGS=`pkg-config gnutls --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
+        GNUTLS_CFLAGS=`$PKG_CONFIG gnutls --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
+        GNUTLS_LFLAGS=`$PKG_CONFIG gnutls --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
         $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h
Lucio Andrés Illanes Albornoz af7527
@@ -25046,8 +25045,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 $as_echo "yes" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
-    ZLIB_CFLAGS=`pkg-config zlib --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
-    ZLIB_LFLAGS=`pkg-config zlib --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
+    ZLIB_CFLAGS=`$PKG_CONFIG zlib --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
+    ZLIB_LFLAGS=`$PKG_CONFIG zlib --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
 fi