1 |
commit: 4899ef98267b13c91ab7329769263b0cf72c27fa |
2 |
Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 1 11:34:12 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=4899ef98 |
7 |
|
8 |
net-libs/ldns: fix soname |
9 |
|
10 |
Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org> |
11 |
|
12 |
net-libs/ldns/{ldns-1.8.0.ebuild => ldns-1.8.0-r1.ebuild} | 7 +++++-- |
13 |
1 file changed, 5 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/net-libs/ldns/ldns-1.8.0.ebuild b/net-libs/ldns/ldns-1.8.0-r1.ebuild |
16 |
similarity index 90% |
17 |
rename from net-libs/ldns/ldns-1.8.0.ebuild |
18 |
rename to net-libs/ldns/ldns-1.8.0-r1.ebuild |
19 |
index f530e59ed7ab..71986a0e0f92 100644 |
20 |
--- a/net-libs/ldns/ldns-1.8.0.ebuild |
21 |
+++ b/net-libs/ldns/ldns-1.8.0-r1.ebuild |
22 |
@@ -3,7 +3,7 @@ |
23 |
|
24 |
EAPI=8 |
25 |
PYTHON_COMPAT=( python3_{7,8,9,10} ) |
26 |
-inherit python-single-r1 flag-o-matic multilib-minimal |
27 |
+inherit python-single-r1 autotools multilib-minimal |
28 |
|
29 |
DESCRIPTION="a library with the aim to simplify DNS programming in C" |
30 |
HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" |
31 |
@@ -81,7 +81,10 @@ src_prepare() { |
32 |
# remove $(srcdir) from path for multilib build |
33 |
sed -i 's,$(srcdir)/packaging/libldns.pc,packaging/libldns.pc,' "${S}"/Makefile.in || die 'could not patch Makefile.in' |
34 |
|
35 |
- filter-ldflags * |
36 |
+ # backport https://github.com/NLnetLabs/ldns/commit/bc9d017f6fd8b6b5d2ff6e4489a2931d0aab8184 |
37 |
+ sed -i 's/AC_SUBST(VERSION_INFO.*/AC_SUBST(VERSION_INFO, [5:0:2])/' "${S}"/configure.ac || die 'could not patch configure.ac' |
38 |
+ |
39 |
+ eautoreconf |
40 |
} |
41 |
|
42 |
multilib_src_compile() { |