commit:     7c4b3cc7397f5d1df9d820c9f899dc04cc0d01e3
Author:     Martin Matous <m <AT> matous <DOT> dev>
AuthorDate: Fri Apr  1 22:28:48 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  2 03:30:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c4b3cc7

net-misc/openssh: fix build with ldns

Closes: https://bugs.gentoo.org/744166
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Martin Matouš <m <AT> matous.dev>
Closes: https://github.com/gentoo/gentoo/pull/24857
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/openssh/openssh-8.8_p1-r4.ebuild | 2 +-
 net-misc/openssh/openssh-8.9_p1-r2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/openssh/openssh-8.8_p1-r4.ebuild 
b/net-misc/openssh/openssh-8.8_p1-r4.ebuild
index 346f1afe7e1f..561dc2dd6076 100644
--- a/net-misc/openssh/openssh-8.8_p1-r4.ebuild
+++ b/net-misc/openssh/openssh-8.8_p1-r4.ebuild
@@ -303,7 +303,7 @@ src_configure() {
                # We apply the sctp patch conditionally, so can't pass 
--without-sctp
                # unconditionally else we get unknown flag warnings.
                $(use sctp && use_with sctp)
-               $(use_with ldns ldns "${EPREFIX}"/usr)
+               $(use_with ldns)
                $(use_with libedit)
                $(use_with pam)
                $(use_with pie)

diff --git a/net-misc/openssh/openssh-8.9_p1-r2.ebuild 
b/net-misc/openssh/openssh-8.9_p1-r2.ebuild
index d56d99980ece..64d88e4197f6 100644
--- a/net-misc/openssh/openssh-8.9_p1-r2.ebuild
+++ b/net-misc/openssh/openssh-8.9_p1-r2.ebuild
@@ -306,7 +306,7 @@ src_configure() {
                # We apply the sctp patch conditionally, so can't pass 
--without-sctp
                # unconditionally else we get unknown flag warnings.
                $(use sctp && use_with sctp)
-               $(use_with ldns ldns "${EPREFIX}"/usr)
+               $(use_with ldns)
                $(use_with libedit)
                $(use_with pam)
                $(use_with pie)

Reply via email to