Skip to content

Commit

Permalink
media-libs/raspberrypi-userland: add support for no-multilib profiles
Browse files Browse the repository at this point in the history
No-multilib profiles use lib and not lib64.
Use get_libdir to detect which directory to use.
This fixes sakaki-#26.

Package-Manager: Portage-2.3.99, Repoman-2.3.23
RepoMan-Options: --force
Signed-off-by: Louis Leseur <[email protected]>
  • Loading branch information
teapot9 committed Jun 27, 2020
1 parent 9c28515 commit 8975673
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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}/"
Expand Down

0 comments on commit 8975673

Please sign in to comment.