media-libs/libmikmod: Disable Werror that is added by USE=debug, bug #621688*
authorAlexis Ballier <aballier@gentoo.org>
Wed, 14 Jun 2017 11:21:48 +0000 (13:21 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 14 Jun 2017 12:20:46 +0000 (14:20 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

media-libs/libmikmod/libmikmod-3.3.11.ebuild

index 2d3cc0eb8d6495c923aa88efeded297fbb4a3584..7ab9e60a597eac6121e5c9dea9f276cde48cf2f8 100644 (file)
@@ -30,6 +30,12 @@ MULTILIB_CHOST_TOOLS=(
        /usr/bin/libmikmod-config
 )
 
+src_prepare() {
+       # USE=debug enables Werror, bug #621688
+       sed -i -e 's/-Werror//' configure || die
+       default
+}
+
 multilib_src_configure() {
        local mysimd="--disable-simd"
        if use ppc || use ppc64 || use ppc-macos; then