summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Gerstner <matthias.gerstner@suse.de>2017-09-04 14:30:13 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-12-12 18:30:28 +0100
commit2d3ad96a836ec425fda6d6ed3088948165a65456 (patch)
tree34c0002c0a570b5166ae6bceb364ed6ea41744d5 /media-sound/mpd
parentmedia-sound/mpd: 0.20.12 version bump (diff)
downloadgentoo-2d3ad96a836ec425fda6d6ed3088948165a65456.tar.gz
gentoo-2d3ad96a836ec425fda6d6ed3088948165a65456.tar.bz2
gentoo-2d3ad96a836ec425fda6d6ed3088948165a65456.zip
media-sound/mpd: 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. 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
Diffstat (limited to 'media-sound/mpd')
-rw-r--r--media-sound/mpd/mpd-0.20.12.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/media-sound/mpd/mpd-0.20.12.ebuild b/media-sound/mpd/mpd-0.20.12.ebuild
index 20346593acfa..695a4b188efa 100644
--- a/media-sound/mpd/mpd-0.20.12.ebuild
+++ b/media-sound/mpd/mpd-0.20.12.ebuild
@@ -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)
)