diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-07-19 01:38:04 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-07-19 01:38:24 +0100 |
commit | 88796dc3eb02643799f661d38386bede0109cef2 (patch) | |
tree | 852ebaa32c23c06abb4dafa2b23dd7c741283670 /sys-libs/glibc/glibc-9999.ebuild | |
parent | gnustep-apps/gnumail: 1.3.0 bump (diff) | |
download | gentoo-88796dc3eb02643799f661d38386bede0109cef2.tar.gz gentoo-88796dc3eb02643799f661d38386bede0109cef2.tar.bz2 gentoo-88796dc3eb02643799f661d38386bede0109cef2.zip |
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
Diffstat (limited to 'sys-libs/glibc/glibc-9999.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-9999.ebuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index a0c2c4f3d45e..49b14e0284ec 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -1219,10 +1219,8 @@ glibc_do_src_install() { # gcc likes to use relative paths to get to its multilibs like # /usr/lib/../lib64/. So while we don't install any files into # /usr/lib/, we do need it to exist. - cd "${ED}"$(alt_libdir)/.. - [[ -e lib ]] || mkdir lib - cd "${ED}"$(alt_usrlibdir)/.. - [[ -e lib ]] || mkdir lib + keepdir $(alt_prefix)/lib + keepdir $(alt_prefix)/usr/lib dosym usr/include $(alt_prefix)/sys-include return 0 |