Files
gentoo/dev-libs/xmlrpc-c/files/xmlrpc-c-1.64.03-fix_hardcoded_pkg-config.patch
Nicolas PARLANT a832cd3e0c dev-libs/xmlrpc-c: fix hardcoded pkg-config
reapply fix for libxml2 and openssl (rebased from 1.59.X)
fix the patch for system expat

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1607
Signed-off-by: Sam James <sam@gentoo.org>
2026-08-04 01:45:33 +01:00

23 lines
608 B
Diff

https://sourceforge.net/p/xmlrpc-c/code/3151
https://bugs.gentoo.org/870253
--- a/configure.in
+++ b/configure.in
@@ -696,7 +696,7 @@ dnl =======================================================================
AC_MSG_CHECKING(for OpenSSL library)
-if pkg-config openssl; then
+if ${PKG_CONFIG} openssl; then
HAVE_OPENSSL=yes
else
HAVE_OPENSSL=no
@@ -747,7 +747,7 @@ dnl =======================================================================
AC_MSG_CHECKING(for Libxml2 library)
-if pkg-config libxml-2.0; then
+if ${PKG_CONFIG} libxml-2.0; then
HAVE_LIBXML2=yes
else
HAVE_LIBXML2=no