commit:     05d20b8b997bfb1188294bbf1b754469041b9db9
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 16 18:26:35 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Sep 16 18:27:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d20b8b

sys-libs/glibc: Remove only unversioned libnsl binaries

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-libs/glibc/glibc-2.26-r1.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-libs/glibc/glibc-2.26-r1.ebuild 
b/sys-libs/glibc/glibc-2.26-r1.ebuild
index ac72e47377a..99126e75c9e 100644
--- a/sys-libs/glibc/glibc-2.26-r1.ebuild
+++ b/sys-libs/glibc/glibc-2.26-r1.ebuild
@@ -569,10 +569,10 @@ glibc_do_src_install() {
 
        emake install_root="${D}$(alt_prefix)" install || die
 
-       # This version (2.26) provides some "compatibility libraries" for the 
NIS/NIS+ support
-       # which come without headers etc. So, for us completely useless. Use
-       # net-libs/libnsl instead.
-       find "${D}" -name "libnsl*" -delete
+       # This version (2.26) provides some compatibility libraries for the 
NIS/NIS+ support
+       # which come without headers etc. Only needed for binary packages since 
the
+       # external net-libs/libnsl has increased soversion. Keep only versioned 
libraries.
+       find "${D}" -name "libnsl.a" -o -name "libnsl.so" -delete
 
        # Normally real_pv is ${PV}. Live ebuilds are exception, there we need
        # to infer upstream version:

Reply via email to