From 05d20b8b997bfb1188294bbf1b754469041b9db9 Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Sat, 16 Sep 2017 20:26:35 +0200 Subject: 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 ac72e47377ae..99126e75c9e9 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: -- cgit v1.2.3-65-gdbad