sys-libs/libxcrypt: Fix installation with USE="split-usr system".
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Sat, 8 Feb 2020 00:17:34 +0000 (00:17 +0000)
committerPatrick McLean <chutzpah@gentoo.org>
Sat, 8 Feb 2020 00:50:31 +0000 (16:50 -0800)
commit37e41391d7c52a73bef95a72e37992744bf2cbc4
tree9a22fd03480c304e15d2c94ce983f62104f4194f
parent4f8f815cc1a4a42bb4a1fd84832da332ff360df8
sys-libs/libxcrypt: Fix installation with USE="split-usr system".

Do not install 3 unnecessary copies of full library (regular file) for each non-native ABI:
  /usr/$(get_libdir)/libcrypt.so
  /usr/$(get_libdir)/libowcrypt.so
  /usr/$(get_libdir)/libxcrypt.so

Do not install unnecessary symlinks for each ABI:
  /usr/$(get_libdir)/libcrypt.so.2
  /usr/$(get_libdir)/libowcrypt.so.2
  /usr/$(get_libdir)/libxcrypt.so.2

Do not use gen_usr_ldscript().

No changes for other combinations of USE flags.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
sys-libs/libxcrypt/libxcrypt-4.4.12-r3.ebuild [moved from sys-libs/libxcrypt/libxcrypt-4.4.12-r2.ebuild with 84% similarity]