Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733896 - media-sound/alsaplayer - path to /usr/lib is hardcoded in configure.ac and config.rpath
Summary: media-sound/alsaplayer - path to /usr/lib is hardcoded in configure.ac and co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PATCH
: 740738 (view as bug list)
Depends on:
Blocks: no-symlink-lib
  Show dependency tree
 
Reported: 2020-07-25 16:16 UTC by Samuel Bauer
Modified: 2021-03-09 19:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
alsaplayer ebuild fix (alsap.patch,592 bytes, patch)
2020-07-25 16:16 UTC, Samuel Bauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)