summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2014-06-27 07:26:18 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2014-06-27 07:26:18 +0000
commitb2ed4c499b14865cece275211ac8d6cd07fdb187 (patch)
treef60f0ab9101dd642f327e9d6e0cdb800eb80d112 /eclass/haskell-cabal.eclass
parentRevision bump: EAPI 5, migrate to autotools-utils eclass, drop obsolete check... (diff)
downloadgentoo-2-b2ed4c499b14865cece275211ac8d6cd07fdb187.tar.gz
gentoo-2-b2ed4c499b14865cece275211ac8d6cd07fdb187.tar.bz2
gentoo-2-b2ed4c499b14865cece275211ac8d6cd07fdb187.zip
Disable QA warning on '--with-compiler' passed by 'dev-haskell/cabal' (bug #515360 by Patrick Lauer).
Diffstat (limited to 'eclass/haskell-cabal.eclass')
-rw-r--r--eclass/haskell-cabal.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
index c044e50fe10a..11af9ea19604 100644
--- a/eclass/haskell-cabal.eclass
+++ b/eclass/haskell-cabal.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v 1.45 2014/06/27 07:16:47 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v 1.46 2014/06/27 07:26:18 slyfox Exp $
# @ECLASS: haskell-cabal.eclass
# @MAINTAINER:
@@ -64,8 +64,9 @@ inherit eutils ghc-package multilib multiprocessing
HASKELL_CABAL_EXPF="pkg_setup src_compile src_test src_install"
# 'dev-haskell/cabal' passes those options with ./configure-based
-# configuration, but most packages don't need/don't accept it
-QA_CONFIGURE_OPTIONS+=" --with-hc --with-hc-pkg --with-gcc"
+# configuration, but most packages don't need/don't accept it:
+# #515362, #515362
+QA_CONFIGURE_OPTIONS+=" --with-compiler --with-hc --with-hc-pkg --with-gcc"
case "${EAPI:-0}" in
2|3|4|5) HASKELL_CABAL_EXPF+=" src_configure" ;;