diff options
author | 2021-12-01 01:35:42 -1000 | |
---|---|---|
committer | 2021-12-01 01:40:28 -1000 | |
commit | a9fb0f0c1c8ce2f4d8c06de5988df96627b41eac (patch) | |
tree | 971ebc064cafb245156ef7c3b24d3a36efa11012 /net-libs | |
parent | net-libs/ldns: fix soname (diff) | |
download | gentoo-a9fb0f0c1c8ce2f4d8c06de5988df96627b41eac.tar.gz gentoo-a9fb0f0c1c8ce2f4d8c06de5988df96627b41eac.tar.bz2 gentoo-a9fb0f0c1c8ce2f4d8c06de5988df96627b41eac.zip |
net-libs/ldns: fix LDFLAGS in pkg-config (#695672)
Closes: https://bugs.gentoo.org/695672
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/ldns/ldns-1.8.0-r1.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net-libs/ldns/ldns-1.8.0-r1.ebuild b/net-libs/ldns/ldns-1.8.0-r1.ebuild index 71986a0e0f92..5d48f102da5c 100644 --- a/net-libs/ldns/ldns-1.8.0-r1.ebuild +++ b/net-libs/ldns/ldns-1.8.0-r1.ebuild @@ -81,6 +81,9 @@ src_prepare() { # remove $(srcdir) from path for multilib build sed -i 's,$(srcdir)/packaging/libldns.pc,packaging/libldns.pc,' "${S}"/Makefile.in || die 'could not patch Makefile.in' + # remove Libs.private, see bug #695672 + sed -i '/^Libs.private:/d' "${S}"/packaging/libldns.pc.in || die 'could not patch libldns.pc.in' + # backport https://github.com/NLnetLabs/ldns/commit/bc9d017f6fd8b6b5d2ff6e4489a2931d0aab8184 sed -i 's/AC_SUBST(VERSION_INFO.*/AC_SUBST(VERSION_INFO, [5:0:2])/' "${S}"/configure.ac || die 'could not patch configure.ac' |