summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-09-16 17:24:47 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-09-16 17:48:21 +0200
commit00475fbe98988f947c901f55185761a8cd950d59 (patch)
tree0d0aa393f228e55780f3861374abda55d513713a
parentnet-libs/libtirpc: Add exported symbol bugfix from Arch; see the patch for links (diff)
downloadgentoo-00475fbe.tar.gz
gentoo-00475fbe.tar.bz2
gentoo-00475fbe.zip
sys-libs/glibc: Dont install the stub libnsl, since it comes without headers anyway
Package-Manager: Portage-2.3.8, Repoman-2.3.3
-rw-r--r--sys-libs/glibc/glibc-2.26-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-2.26-r1.ebuild b/sys-libs/glibc/glibc-2.26-r1.ebuild
index d3f64e629f8d..ac72e47377ae 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'