commit:     b6808c7e5701f0eae62b9de47a190faa4773b308
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 11 23:22:49 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Nov 11 23:23:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6808c7e

net-dns/ddclient: fix tests

Closes: https://bugs.gentoo.org/880691
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-dns/ddclient/ddclient-3.10.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-dns/ddclient/ddclient-3.10.0.ebuild 
b/net-dns/ddclient/ddclient-3.10.0.ebuild
index e90f14f8b53a..aa44af2faa32 100644
--- a/net-dns/ddclient/ddclient-3.10.0.ebuild
+++ b/net-dns/ddclient/ddclient-3.10.0.ebuild
@@ -40,6 +40,9 @@ BDEPEND="
 src_prepare() {
        default
 
+       # Fix version number, otherwise a test will fail
+       sed -e 's/3.10.0_2/3.10.0/g' -i configure.ac || die
+
        # Remove PID setting, to reliably setup the environment for the init 
script
        sed -e '/^pid/d' -i ddclient.conf.in || die
 

Reply via email to