sys-libs/glibc: Dont install the stub libnsl, since it comes without headers anyway
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 16 Sep 2017 15:24:47 +0000 (17:24 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 16 Sep 2017 15:48:21 +0000 (17:48 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

sys-libs/glibc/glibc-2.26-r1.ebuild

index d3f64e629f8db81088621c6d2788229f00e6fdca..ac72e47377ae96a0b8f6d642732de21a9d04b364 100644 (file)
@@ -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'