Gentoo Archives: gentoo-commits

From: Marc Schiffbauer <mschiff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/ldns/
Date: Wed, 01 Dec 2021 11:40:43
Message-Id: 1638358828.a9fb0f0c1c8ce2f4d8c06de5988df96627b41eac.mschiff@gentoo
1 commit: a9fb0f0c1c8ce2f4d8c06de5988df96627b41eac
2 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 1 11:35:42 2021 +0000
4 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 1 11:40:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9fb0f0c
7
8 net-libs/ldns: fix LDFLAGS in pkg-config (#695672)
9
10 Closes: https://bugs.gentoo.org/695672
11 Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>
12
13 net-libs/ldns/ldns-1.8.0-r1.ebuild | 3 +++
14 1 file changed, 3 insertions(+)
15
16 diff --git a/net-libs/ldns/ldns-1.8.0-r1.ebuild b/net-libs/ldns/ldns-1.8.0-r1.ebuild
17 index 71986a0e0f92..5d48f102da5c 100644
18 --- a/net-libs/ldns/ldns-1.8.0-r1.ebuild
19 +++ b/net-libs/ldns/ldns-1.8.0-r1.ebuild
20 @@ -81,6 +81,9 @@ src_prepare() {
21 # remove $(srcdir) from path for multilib build
22 sed -i 's,$(srcdir)/packaging/libldns.pc,packaging/libldns.pc,' "${S}"/Makefile.in || die 'could not patch Makefile.in'
23
24 + # remove Libs.private, see bug #695672
25 + sed -i '/^Libs.private:/d' "${S}"/packaging/libldns.pc.in || die 'could not patch libldns.pc.in'
26 +
27 # backport https://github.com/NLnetLabs/ldns/commit/bc9d017f6fd8b6b5d2ff6e4489a2931d0aab8184
28 sed -i 's/AC_SUBST(VERSION_INFO.*/AC_SUBST(VERSION_INFO, [5:0:2])/' "${S}"/configure.ac || die 'could not patch configure.ac'