media-libs/sdl2-mixer: add workaround to bad SOURCES building code (bug #570804)
authorMichael Sterrett <mr_bones_@gentoo.org>
Tue, 5 Jan 2016 00:36:07 +0000 (19:36 -0500)
committerMichael Sterrett <mr_bones_@gentoo.org>
Tue, 5 Jan 2016 00:36:24 +0000 (19:36 -0500)
Package-Manager: portage-2.2.26

media-libs/sdl2-mixer/sdl2-mixer-2.0.1.ebuild

index 14879cc35c8f8b7e2711e6eea27136bd807349b0..8fb83540dc1ea09f2df8c058ad0759383f225975 100644 (file)
@@ -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 \