sys-libs/glibc: preserve /usr/lib witk keepdir
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 19 Jul 2018 00:38:04 +0000 (01:38 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Thu, 19 Jul 2018 00:38:24 +0000 (01:38 +0100)
commit88796dc3eb02643799f661d38386bede0109cef2
tree852ebaa32c23c06abb4dafa2b23dd7c741283670
parentd32214bc7c8c8ad12f7d684966172cf5975db58c
sys-libs/glibc: preserve /usr/lib witk keepdir

Today crossdev does not install baselayout into /usr/${CTARGET}.
As a result /usr/${CTARGET}/usr/lib was not created by any ebuilds.
glibc ebuild used to create /usr/lib but recently added
install-qa-check.d/95empty-dirs by portage broke that assumption.

This change uses keepdir to ensure presense of /usr/${CTARGET}/usr/lib.
Longer term crossdev will attempt to use baselayout.

Reported-by: Vadim A. Misbakh-Soloviov <git@mva.name>
Bug: https://bugs.gentoo.org/652724
Package-Manager: Portage-2.3.43, Repoman-2.3.10
sys-libs/glibc/glibc-2.27-r5.ebuild
sys-libs/glibc/glibc-9999.ebuild