commit:     00475fbe98988f947c901f55185761a8cd950d59
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 16 15:24:47 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Sep 16 15:48:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00475fbe

sys-libs/glibc: Dont install the stub libnsl, since it comes without headers 
anyway

Package-Manager: Portage-2.3.8, Repoman-2.3.3

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

diff --git a/sys-libs/glibc/glibc-2.26-r1.ebuild 
b/sys-libs/glibc/glibc-2.26-r1.ebuild
index d3f64e629f8..ac72e47377a 100644
--- a/sys-libs/glibc/glibc-2.26-r1.ebuild
+++ b/sys-libs/glibc/glibc-2.26-r1.ebuild
@@ -569,6 +569,11 @@ 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
+
        # Normally real_pv is ${PV}. Live ebuilds are exception, there we need
        # to infer upstream version:
        # '#define VERSION "2.26.90"' -> '2.26.90'

Reply via email to