1 |
commit: 2d3ad96a836ec425fda6d6ed3088948165a65456 |
2 |
Author: Matthias Gerstner <matthias.gerstner <AT> suse <DOT> de> |
3 |
AuthorDate: Mon Sep 4 12:30:13 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 12 17:30:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3ad96a |
7 |
|
8 |
media-sound/mpd: Fix mpd build on prefix profiles |
9 |
|
10 |
libmad recorded wrong pkgconfig cflags which caused configure in mpd to |
11 |
pick up an additional '-I /usr/include' which then broke because of |
12 |
mixing up std headers. |
13 |
|
14 |
Similarly the autoconf check for boost picks up the host system's |
15 |
/usr/include instead of the prefix's ${EPREFIX}/usr/include, leading to |
16 |
the same result as with libmad in the mpd build. |
17 |
|
18 |
An explicity --with-boost heals this. |
19 |
|
20 |
Closes: https://bugs.gentoo.org/629880 |
21 |
|
22 |
media-sound/mpd/mpd-0.20.12.ebuild | 1 + |
23 |
1 file changed, 1 insertion(+) |
24 |
|
25 |
diff --git a/media-sound/mpd/mpd-0.20.12.ebuild b/media-sound/mpd/mpd-0.20.12.ebuild |
26 |
index 20346593acf..695a4b188ef 100644 |
27 |
--- a/media-sound/mpd/mpd-0.20.12.ebuild |
28 |
+++ b/media-sound/mpd/mpd-0.20.12.ebuild |
29 |
@@ -226,6 +226,7 @@ src_configure() { |
30 |
$(use_enable webdav) |
31 |
$(use_enable faad aac) |
32 |
$(use_with zeroconf zeroconf avahi) |
33 |
+ --with-boost="${EPREFIX}"/usr |
34 |
--with-systemdsystemunitdir=$(systemd_get_systemunitdir) |
35 |
--with-systemduserunitdir=$(systemd_get_userunitdir) |
36 |
) |