From 89756737e48390a1fe1cbb12339374be2709866f Mon Sep 17 00:00:00 2001 From: Louis Leseur Date: Sat, 27 Jun 2020 19:40:05 +0200 Subject: [PATCH] media-libs/raspberrypi-userland: add support for no-multilib profiles No-multilib profiles use lib and not lib64. Use get_libdir to detect which directory to use. This fixes #26. Package-Manager: Portage-2.3.99, Repoman-2.3.23 RepoMan-Options: --force Signed-off-by: Louis Leseur --- .../raspberrypi-userland-1.20200520.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-1.20200520.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-1.20200520.ebuild index d90e5b38..59553651 100644 --- a/media-libs/raspberrypi-userland/raspberrypi-userland-1.20200520.ebuild +++ b/media-libs/raspberrypi-userland/raspberrypi-userland-1.20200520.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -61,8 +61,8 @@ src_install() { rm -rf "${D}/usr/include/KHR" # hacky fix for multilib issue - mkdir -pv "${D}/usr/lib64" - mv "${D}/usr/lib/"*.so "${D}/usr/lib64/" + dodir "/usr/$(get_libdir)" + mv "${D}/usr/lib/"*.so "${D}/usr/$(get_libdir)/" # hacky fix for /usr/etc path mv "${D}/usr/etc" "${D}/"