diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2021-12-01 01:34:12 -1000 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2021-12-01 01:40:28 -1000 |
commit | 4899ef98267b13c91ab7329769263b0cf72c27fa (patch) | |
tree | 4aae7925bc65547903f12ba33e600f4e93ae7f36 /net-libs | |
parent | sys-cluster/libqb: version bump (diff) | |
download | gentoo-4899ef98267b13c91ab7329769263b0cf72c27fa.tar.gz gentoo-4899ef98267b13c91ab7329769263b0cf72c27fa.tar.bz2 gentoo-4899ef98267b13c91ab7329769263b0cf72c27fa.zip |
net-libs/ldns: fix soname
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 (renamed from net-libs/ldns/ldns-1.8.0.ebuild) | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net-libs/ldns/ldns-1.8.0.ebuild b/net-libs/ldns/ldns-1.8.0-r1.ebuild index f530e59ed7ab..71986a0e0f92 100644 --- a/net-libs/ldns/ldns-1.8.0.ebuild +++ b/net-libs/ldns/ldns-1.8.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit python-single-r1 flag-o-matic multilib-minimal +inherit python-single-r1 autotools multilib-minimal DESCRIPTION="a library with the aim to simplify DNS programming in C" HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" @@ -81,7 +81,10 @@ 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' - filter-ldflags * + # 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' + + eautoreconf } multilib_src_compile() { |