Files
gentoo/dev-libs/xmlrpc-c/files/xmlrpc-c-1.64.03-fix-pkgconfig.patch
Alfred Wingate 3a2bf04335 dev-libs/xmlrpc-c: fix pkgconfig files
Use variables already present in buildsystem to set the correct libdir.

Closes: https://bugs.gentoo.org/978404
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1306
Merges: https://codeberg.org/gentoo/gentoo/pulls/1306
Signed-off-by: Sam James <sam@gentoo.org>
2026-07-03 23:15:27 +01:00

15 lines
616 B
Diff

https://bugs.gentoo.org/978404
--- a/common.mk 2026-07-03 17:07:42.176631332 +0300
+++ b/common.mk 2026-07-03 17:12:20.450178450 +0300
@@ -558,7 +558,7 @@
# The following value, in a pkg-config file, sets the conventional pkg-config
# variables that the pkg-config user can override at pkg-config time.
PKGCONFIG_VAR_SET = \
- prefix=$(PREFIX)\nexec_prefix=$${prefix}\nincludedir=$${prefix}/include\nlibdir=$${exec_prefix}/lib
+ prefix=$(PREFIX)\nexec_prefix=$${prefix}\nincludedir=$(HEADERINST_DIR)\nlibdir=$(LIBINST_DIR)
##############################################################################