media-sound/mpd: Fix mpd build on prefix profiles
authorMatthias Gerstner <matthias.gerstner@suse.de>
Mon, 4 Sep 2017 12:30:13 +0000 (14:30 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 12 Dec 2017 17:30:28 +0000 (18:30 +0100)
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.

Similarly 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.

Closes: https://bugs.gentoo.org/629880

media-sound/mpd/mpd-0.20.12.ebuild

index 20346593acfa74c94befbad067123190dffda2ae..695a4b188efa263a7c15dcd464972fb5625b0786 100644 (file)
@@ -226,6 +226,7 @@ src_configure() {
                $(use_enable webdav)
                $(use_enable faad aac)
                $(use_with zeroconf zeroconf avahi)
+               --with-boost="${EPREFIX}"/usr
                --with-systemdsystemunitdir=$(systemd_get_systemunitdir)
                --with-systemduserunitdir=$(systemd_get_userunitdir)
        )