From: W. Michael Petullo Date: Fri, 18 Nov 2022 02:40:35 +0000 (-0600) Subject: libgpg-error: copy gpg-error.pc to staging directory X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7e75519ac14991cc733f2e4dcbcec439ed596238;p=feed%2Fpackages.git libgpg-error: copy gpg-error.pc to staging directory Packages like libassuan and libksba would not compile after updating libgpg-error to 1.46. This was because gpg-error.m4 (and thus the affected packages' configure scripts) relies on gpgrt-config, which in turn needs access to gpg-error.pc. This modifies the libgpg-error build process to copy gpg-error.pc to OpenWrt's staging directory, so that it is available for subsequent dependent package builds. Fixes: https://github.com/openwrt/packages/issues/19880 Signed-off-by: W. Michael Petullo (cherry picked from commit a93e0269a10cbca0679ae390d6b89aedbb2435e6) --- diff --git a/libs/libgpg-error/Makefile b/libs/libgpg-error/Makefile index 1db835715e..c9a52b3d68 100644 --- a/libs/libgpg-error/Makefile +++ b/libs/libgpg-error/Makefile @@ -90,6 +90,11 @@ define Build/InstallDev $(INSTALL_DATA) \ $(PKG_INSTALL_DIR)/usr/share/aclocal/gpgrt.m4 \ $(1)/usr/share/aclocal/ + + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(CP) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/gpg-error.pc \ + $(1)/usr/lib/pkgconfig endef define Package/libgpg-error/install