commit:     2e2781b309ce983d6c430a1f7d04f80cde7d72a5
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 14 07:45:28 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Aug 14 07:45:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e2781b3

net-libs/libssh: Synced live ebuild.

Package-Manager: Portage-2.3.46, Repoman-2.3.10

 net-libs/libssh/libssh-9999.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-libs/libssh/libssh-9999.ebuild 
b/net-libs/libssh/libssh-9999.ebuild
index f29e2283d91..8aaceace64c 100644
--- a/net-libs/libssh/libssh-9999.ebuild
+++ b/net-libs/libssh/libssh-9999.ebuild
@@ -14,7 +14,7 @@ if [[ "${PV}" == *9999 ]] ; then
        EGIT_REPO_URI="https://git.libssh.org/projects/libssh.git";
 else
        inherit eapi7-ver
-       SRC_URI="https://www.libssh.org/files/$(ver_cut 1-2)/${P}.tar.xz"
+       SRC_URI="https://www.libssh.org/files/$(ver_cut 1-2)/${MY_P}.tar.xz"
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
 fi
 
@@ -97,7 +97,11 @@ multilib_src_install() {
                dodoc -r doc/html/.
        fi
 
-       use static-libs || rm -f "${D}"/usr/$(get_libdir)/libssh{,_threads}.a
+       use static-libs || rm -f "${D}"/usr/$(get_libdir)/libssh.a
+
+       # compatibility symlink until all consumers have been updated
+       # to no longer use libssh_threads.so
+       dosym libssh.so /usr/$(get_libdir)/libssh_threads.so
 }
 
 multilib_src_install_all() {

Reply via email to