summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-06-14 13:21:48 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-06-14 14:20:46 +0200
commit86bf479f3f9da950f515543fd48547931603f5ca (patch)
tree5b8f8074e8711d464f9e9703a1bfda74df5bc5b4
parentdev-python/django-tagging: Support newer python (diff)
downloadgentoo-86bf479f3f9da950f515543fd48547931603f5ca.tar.gz
gentoo-86bf479f3f9da950f515543fd48547931603f5ca.tar.bz2
gentoo-86bf479f3f9da950f515543fd48547931603f5ca.zip
media-libs/libmikmod: Disable Werror that is added by USE=debug, bug #621688*
Package-Manager: Portage-2.3.6, Repoman-2.3.2
-rw-r--r--media-libs/libmikmod/libmikmod-3.3.11.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/media-libs/libmikmod/libmikmod-3.3.11.ebuild b/media-libs/libmikmod/libmikmod-3.3.11.ebuild
index 2d3cc0eb8d64..7ab9e60a597e 100644
--- a/media-libs/libmikmod/libmikmod-3.3.11.ebuild
+++ b/media-libs/libmikmod/libmikmod-3.3.11.ebuild
@@ -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