Gentoo Archives: gentoo-commits

From: Andrey Utkin <andrey_utkin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/raspberrypi-userland-bin/
Date: Mon, 29 Jul 2019 21:01:16
Message-Id: 1564434021.288e434138c3cd33b61dd5abf57eac7ff3120983.andrey_utkin@gentoo
1 commit: 288e434138c3cd33b61dd5abf57eac7ff3120983
2 Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 29 19:29:09 2019 +0000
4 Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 29 21:00:21 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=288e4341
7
8 media-libs/raspberrypi-userland-bin: drop inherit multilib
9
10 Apparenly multilib.eclass was used only for get_libdir function, and the
11 usage was wrong, because it was appended to the package-specific
12 "/opt/vc/" path which does not need to match system library directory
13 name.
14
15 More than that, the path "/opt/vc/lib" is actually hardcoded in env.d
16 file installed by this package, so even if get_libdir ever returned
17 something different than "lib", that would break dynamic linkage of the
18 installed executables.
19
20 Package-Manager: Portage-2.3.66, Repoman-2.3.16
21 Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org>
22
23 .../raspberrypi-userland-bin-1.20190709.ebuild | 4 +---
24 1 file changed, 1 insertion(+), 3 deletions(-)
25
26 diff --git a/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20190709.ebuild b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20190709.ebuild
27 index 88cc1e30552..67de53f9fa0 100644
28 --- a/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20190709.ebuild
29 +++ b/media-libs/raspberrypi-userland-bin/raspberrypi-userland-bin-1.20190709.ebuild
30 @@ -3,8 +3,6 @@
31
32 EAPI=5
33
34 -inherit multilib
35 -
36 DESCRIPTION="Raspberry Pi userspace tools and libraries"
37 HOMEPAGE="https://github.com/raspberrypi/firmware"
38 MY_P="raspberrypi-firmware-${PV}"
39 @@ -30,7 +28,7 @@ src_install() {
40 into /opt
41 dobin bin/*
42 insopts -m 0755
43 - insinto "/opt/vc/$(get_libdir)"
44 + insinto "/opt/vc/lib"
45 doins -r lib/*
46
47 doenvd "${FILESDIR}"/04${PN}