sys-libs/glibc: Replace the last absolute symlink with a relative one
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 7 Oct 2017 22:25:32 +0000 (00:25 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 7 Oct 2017 22:25:58 +0000 (00:25 +0200)
Package-Manager: Portage-2.3.11, Repoman-2.3.2

sys-libs/glibc/glibc-2.26-r2.ebuild
sys-libs/glibc/glibc-9999.ebuild

index f9477803377962e3ed9cd4e37612f19d3795a007..8b6e1b1520be50afcf3a6da194a4608829fd2467 100644 (file)
@@ -689,7 +689,7 @@ glibc_do_src_install() {
        keepdir /usr/$(get_libdir)/locale
        for a in $(get_install_abis) ; do
                if [[ ! -e ${ED}/usr/$(get_abi_LIBDIR ${a})/locale ]] ; then
-                       dosym /usr/$(get_libdir)/locale /usr/$(get_abi_LIBDIR ${a})/locale
+                       dosym ../$(get_libdir)/locale /usr/$(get_abi_LIBDIR ${a})/locale
                fi
        done
 
index a31138a4ea8b7858857653b4ce31cd989ebf6061..dacec0b7e245a944f52462799788de1bb6c58b8b 100644 (file)
@@ -689,7 +689,7 @@ glibc_do_src_install() {
        keepdir /usr/$(get_libdir)/locale
        for a in $(get_install_abis) ; do
                if [[ ! -e ${ED}/usr/$(get_abi_LIBDIR ${a})/locale ]] ; then
-                       dosym /usr/$(get_libdir)/locale /usr/$(get_abi_LIBDIR ${a})/locale
+                       dosym ../$(get_libdir)/locale /usr/$(get_abi_LIBDIR ${a})/locale
                fi
        done