summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2016-01-04 19:36:07 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2016-01-04 19:36:24 -0500
commit46d013e6d0c4f81cf4399621528782f1c3da71df (patch)
tree4f658ce5e94d7110cacf8c6feb2dc0bfbf45c4a0 /media-libs/sdl2-mixer
parentdev-perl/Exception-Base: Version bump; remove old (diff)
downloadgentoo-46d013e6d0c4f81cf4399621528782f1c3da71df.tar.gz
gentoo-46d013e6d0c4f81cf4399621528782f1c3da71df.tar.bz2
gentoo-46d013e6d0c4f81cf4399621528782f1c3da71df.zip
media-libs/sdl2-mixer: add workaround to bad SOURCES building code (bug #570804)
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-libs/sdl2-mixer')
-rw-r--r--media-libs/sdl2-mixer/sdl2-mixer-2.0.1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/media-libs/sdl2-mixer/sdl2-mixer-2.0.1.ebuild b/media-libs/sdl2-mixer/sdl2-mixer-2.0.1.ebuild
index 14879cc35c8..8fb83540dc1 100644
--- a/media-libs/sdl2-mixer/sdl2-mixer-2.0.1.ebuild
+++ b/media-libs/sdl2-mixer/sdl2-mixer-2.0.1.ebuild
@@ -51,6 +51,11 @@ DEPEND=${RDEPEND}
S=${WORKDIR}/${MY_P}
+src_prepare() {
+ # ugly workaround to bad SOURCES building code (bug #570804)
+ sed -i -e '/echo.*load_mp3/s/load//' configure || die
+}
+
multilib_src_configure() {
ECONF_SOURCE=${S} \
econf \