Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 733896

Summary: media-sound/alsaplayer - path to /usr/lib is hardcoded in configure.ac and config.rpath
Product: Gentoo Linux Reporter: Samuel Bauer <samuel.bauer>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: bob, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 506276    
Attachments: alsaplayer ebuild fix

Description Samuel Bauer 2020-07-25 16:16:20 UTC
Created attachment 650720 [details, diff]
alsaplayer ebuild fix

Path to /usr/lib is hardcoded in: configure.ac and config.rpath
so that pkg-config result in trying to link libraries from /usr/lib, which will fail on amd64 target.

adding to src_prepare (before calling eautoreconf):
sed -i -e "s:/usr/lib:$(get_libdir):" configure.ac config.rpath

fixes things
Comment 1 Miroslav Ć ulc gentoo-dev 2020-09-07 06:35:52 UTC
*** Bug 740738 has been marked as a duplicate of this bug. ***
Comment 2 Larry the Git Cow gentoo-dev 2021-03-09 17:42:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bfa2b10bb6bcf4c42cf978dd535c9539a99ad17

commit 4bfa2b10bb6bcf4c42cf978dd535c9539a99ad17
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-09 17:41:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-09 17:42:29 +0000

    media-sound/alsaplayer: fix libdir
    
    Thanks-to: Samuel Bauer <samuel.bauer@yahoo.fr>
    Closes: https://bugs.gentoo.org/733896
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/alsaplayer/alsaplayer-0.99.81-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)