Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 492248 Details for
Bug 629876
libmad-0.15.1b-r8 constructs bad pkg-config mad.pc file for EPREFIX builds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
suggested patch
0001-fix-mad-pkg-config.patch (text/plain), 1.37 KB, created by
Matthias Gerstner
on 2017-09-04 12:43:04 UTC
(
hide
)
Description:
suggested patch
Filename:
MIME Type:
Creator:
Matthias Gerstner
Created:
2017-09-04 12:43:04 UTC
Size:
1.37 KB
patch
obsolete
>From 82533ab02d0688fc75c07ef9d28287ea17fb32a8 Mon Sep 17 00:00:00 2001 >From: Matthias Gerstner <matthias.gerstner@suse.de> >Date: Mon, 4 Sep 2017 14:30:13 +0200 >Subject: [PATCH] fix mpd build on prefix profiles > >libmad recorded wrong pkgconfig cflags which caused configure in mpd to >pick up an additional '-I /usr/include' which then broke because of >mixing up std headers. > >Simlarly the autoconf check for boost picks up the host system's >/usr/include instead of the prefix's ${EPREFIX}/usr/include, leading to >the same result as with libmad in the mpd build. > >An explicity --with-boost heals this. >--- > media-libs/libmad/libmad-0.15.1b-r8.ebuild | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/media-libs/libmad/libmad-0.15.1b-r8.ebuild b/media-libs/libmad/libmad-0.15.1b-r8.ebuild >index 50520a655d24..438c94cd1a25 100644 >--- a/media-libs/libmad/libmad-0.15.1b-r8.ebuild >+++ b/media-libs/libmad/libmad-0.15.1b-r8.ebuild >@@ -70,7 +70,10 @@ multilib_src_install() { > doins "${FILESDIR}"/mad.pc > > # Use correct libdir in pkgconfig file >- sed -i -e "s:^libdir.*:libdir=${EPREFIX}/usr/$(get_libdir):" \ >+ sed -i -e "s:^libdir.*:libdir=\${exec_prefix}/$(get_libdir):" \ >+ "${ED}"/usr/$(get_libdir)/pkgconfig/mad.pc >+ # Use correct prefix, too >+ sed -i -e "s:^prefix=:prefix=${EPREFIX}:" \ > "${ED}"/usr/$(get_libdir)/pkgconfig/mad.pc > > prune_libtool_files --all >-- >2.13.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 629876
: 492248 |
492252