Skip to content

Commit

Permalink
media-sound/mpd: Fix mpd build on prefix profiles
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mgerstner authored and a17r committed Dec 12, 2017
1 parent 519d134 commit 2d3ad96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions media-sound/mpd/mpd-0.20.12.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down

0 comments on commit 2d3ad96

Please sign in to comment.