summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-16 04:56:37 +0100
committerSam James <sam@gentoo.org>2021-07-16 04:56:37 +0100
commitd04534bfb44f8f1cad29c6c54ec6cdbbecede36f (patch)
tree8056f789e8b0df7f10fbf9f099dee2a2bc6c2e46 /sys-libs
parentnet-libs/nativebiginteger: drop 0.9.47 (diff)
downloadgentoo-d04534bfb44f8f1cad29c6c54ec6cdbbecede36f.tar.gz
gentoo-d04534bfb44f8f1cad29c6c54ec6cdbbecede36f.tar.bz2
gentoo-d04534bfb44f8f1cad29c6c54ec6cdbbecede36f.zip
sys-libs/libxcrypt: fix installation on prefix in 4.4.23-r1
Closes: https://bugs.gentoo.org/802222 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libxcrypt/libxcrypt-4.4.23-r1.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys-libs/libxcrypt/libxcrypt-4.4.23-r1.ebuild b/sys-libs/libxcrypt/libxcrypt-4.4.23-r1.ebuild
index d03062b4d64a..59a192d732e9 100644
--- a/sys-libs/libxcrypt/libxcrypt-4.4.23-r1.ebuild
+++ b/sys-libs/libxcrypt/libxcrypt-4.4.23-r1.ebuild
@@ -106,8 +106,8 @@ get_xclibdir() {
multilib_src_configure() {
local -a myconf=(
--disable-werror
- --libdir=$(get_xclibdir)
- --with-pkgconfigdir=/usr/$(get_libdir)/pkgconfig
+ --libdir="${EPREFIX}"$(get_xclibdir)
+ --with-pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig"
--includedir="${EPREFIX}/usr/include/$(usex system '' 'xcrypt')"
)
@@ -157,8 +157,8 @@ src_install() {
) || die "failglob error"
# Remove useless stuff from installation
- find "${D}"/usr/share/doc/${PF} -type l -delete || die
- find "${D}" -name '*.la' -delete || die
+ find "${ED}"/usr/share/doc/${PF} -type l -delete || die
+ find "${ED}" -name '*.la' -delete || die
}
multilib_src_install() {
@@ -167,7 +167,7 @@ multilib_src_install() {
# Don't install the libcrypt.so symlink for the "compat" version
case "${MULTIBUILD_ID}" in
xcrypt_compat-*)
- rm "${D}"$(get_xclibdir)/libcrypt$(get_libname) \
+ rm "${ED}"$(get_xclibdir)/libcrypt$(get_libname) \
|| die "failed to remove extra compat libraries"
;;
xcrypt_nocompat-*)
@@ -181,7 +181,7 @@ multilib_src_install() {
if [[ -n ${static_libs[*]} ]]; then
dodir "/usr/$(get_xclibdir)"
- mv "${static_libs[@]}" "${D}/usr/$(get_xclibdir)" \
+ mv "${static_libs[@]}" "${ED}/usr/$(get_xclibdir)" \
|| die "Moving static libs failed"
fi
fi