media-libs/raspberrypi-userland-bin: drop inherit multilib
authorAndrey Utkin <andrey_utkin@gentoo.org>
Mon, 29 Jul 2019 19:29:09 +0000 (20:29 +0100)
committerAndrey Utkin <andrey_utkin@gentoo.org>
Mon, 29 Jul 2019 21:00:21 +0000 (22:00 +0100)
Apparenly multilib.eclass was used only for get_libdir function, and the
usage was wrong, because it was appended to the package-specific
"/opt/vc/" path which does not need to match system library directory
name.

More than that, the path "/opt/vc/lib" is actually hardcoded in env.d
file installed by this package, so even if get_libdir ever returned
something different than "lib", that would break dynamic linkage of the
installed executables.

Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>
media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20190709.ebuild

index 88cc1e305527f8c6e138089355e8386fa85de19e..67de53f9fa04f62bc1789f4f1d30586c33ef3019 100644 (file)
@@ -3,8 +3,6 @@
 
 EAPI=5
 
-inherit multilib
-
 DESCRIPTION="Raspberry Pi userspace tools and libraries"
 HOMEPAGE="https://github.com/raspberrypi/firmware"
 MY_P="raspberrypi-firmware-${PV}"
@@ -30,7 +28,7 @@ src_install() {
        into /opt
        dobin bin/*
        insopts -m 0755
-       insinto "/opt/vc/$(get_libdir)"
+       insinto "/opt/vc/lib"
        doins -r lib/*
 
        doenvd "${FILESDIR}"/04${PN}