summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-09-16 20:26:35 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-09-16 20:27:46 +0200
commit05d20b8b997bfb1188294bbf1b754469041b9db9 (patch)
tree5aabc446d26bc3ecfe71d1ea9cc755b5ad61634d /sys-libs
parentdev-python/awscli: Bump (diff)
downloadgentoo-05d20b8b997bfb1188294bbf1b754469041b9db9.tar.gz
gentoo-05d20b8b997bfb1188294bbf1b754469041b9db9.tar.bz2
gentoo-05d20b8b997bfb1188294bbf1b754469041b9db9.zip
sys-libs/glibc: Remove only unversioned libnsl binaries
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/glibc-2.26-r1.ebuild8
1 files 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: