From 3e62ccf40ace4f3971f083e919ba3aab6212d982 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sat, 7 Mar 2020 21:22:03 +0000 Subject: [PATCH] dev-libs/libpcre-debian: Create relative instead of absolute symlinks Package-Manager: Portage-2.3.92, Repoman-2.3.20 Signed-off-by: James Le Cuirot --- ...ibpcre-debian-8-r1.ebuild => libpcre-debian-8-r2.ebuild} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename dev-libs/libpcre-debian/{libpcre-debian-8-r1.ebuild => libpcre-debian-8-r2.ebuild} (74%) diff --git a/dev-libs/libpcre-debian/libpcre-debian-8-r1.ebuild b/dev-libs/libpcre-debian/libpcre-debian-8-r2.ebuild similarity index 74% rename from dev-libs/libpcre-debian/libpcre-debian-8-r1.ebuild rename to dev-libs/libpcre-debian/libpcre-debian-8-r2.ebuild index 1f26347b5608..377aa75f7c86 100644 --- a/dev-libs/libpcre-debian/libpcre-debian-8-r1.ebuild +++ b/dev-libs/libpcre-debian/libpcre-debian-8-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -16,9 +16,9 @@ RDEPEND="dev-libs/libpcre:${SLOT}[${MULTILIB_USEDEP}]" S="${WORKDIR}" multilib_src_install() { - dosym $(multilib_is_native_abi || echo /usr)/$(get_libdir)/libpcre.so.1 \ + dosym ../$(multilib_is_native_abi && echo ../../$(get_libdir)/)libpcre.so.1 \ /usr/$(get_libdir)/debiancompat/libpcre.so.3 - dosym /usr/$(get_libdir)/libpcreposix.so.0 \ + dosym ../libpcreposix.so.0 \ /usr/$(get_libdir)/debiancompat/libpcreposix.so.3 } -- 2.26.2