From f9cfa5ddfde26bebc80a54198c5607a5a6cc4418 Mon Sep 17 00:00:00 2001
From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
Date: Mon, 18 Sep 2017 11:42:02 +0200
Subject: sys-libs/glibc: Update live ebuild

Package-Manager: Portage-2.3.8, Repoman-2.3.3
---
 sys-libs/glibc/glibc-9999.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'sys-libs')

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 1c50413c2cf5..461d18c9c09a 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -569,6 +569,12 @@ 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. Only needed for binary packages since the
+	# external net-libs/libnsl has increased soversion. Keep only versioned libraries.
+	find "${D}" -name "libnsl.a" -delete
+	find "${D}" -name "libnsl.so" -delete
+
 	# Normally real_pv is ${PV}. Live ebuilds are exception, there we need
 	# to infer upstream version:
 	# '#define VERSION "2.26.90"' -> '2.26.90'
-- 
cgit v1.2.3-65-gdbad