slyfox      14/06/27 07:16:47

  Modified:             ChangeLog haskell-cabal.eclass
  Log:
  Disable QA warning on '--with-hc --with-hc-pkg --with-gcc' flags passed by 
'dev-haskell/cabal' to every configure-based haskell package. Don't unset 
LANG/LC_ALL/LC_MESSAGES anymore.

Revision  Changes    Path
1.1301               eclass/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1301&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1301&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1300&r2=1.1301

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1300
retrieving revision 1.1301
diff -u -r1.1300 -r1.1301
--- ChangeLog   26 Jun 2014 07:01:13 -0000      1.1300
+++ ChangeLog   27 Jun 2014 07:16:47 -0000      1.1301
@@ -1,6 +1,11 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1300 2014/06/26 
07:01:13 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1301 2014/06/27 
07:16:47 slyfox Exp $
+
+  27 Jun 2014; Sergei Trofimovich <sly...@gentoo.org> haskell-cabal.eclass:
+  Disable QA warning on '--with-hc --with-hc-pkg --with-gcc' flags passed by
+  'dev-haskell/cabal' to every configure-based haskell package. Don't unset
+  LANG/LC_ALL/LC_MESSAGES anymore.
 
   26 Jun 2014; Justin Lecher <j...@gentoo.org> readme.gentoo.eclass,
   waf-utils.eclass:



1.45                 eclass/haskell-cabal.eclass

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/haskell-cabal.eclass?rev=1.45&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/haskell-cabal.eclass?rev=1.45&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/haskell-cabal.eclass?r1=1.44&r2=1.45

Index: haskell-cabal.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- haskell-cabal.eclass        22 May 2014 16:35:11 -0000      1.44
+++ haskell-cabal.eclass        27 Jun 2014 07:16:47 -0000      1.45
@@ -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.44 
2014/05/22 16:35:11 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v 1.45 
2014/06/27 07:16:47 slyfox Exp $
 
 # @ECLASS: haskell-cabal.eclass
 # @MAINTAINER:
@@ -63,6 +63,10 @@
 
 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"
+
 case "${EAPI:-0}" in
        2|3|4|5) HASKELL_CABAL_EXPF+=" src_configure" ;;
        *) ;;
@@ -382,7 +386,6 @@
 }
 
 cabal-build() {
-       unset LANG LC_ALL LC_MESSAGES
        set --  build ${CABAL_EXTRA_BUILD_FLAGS} "$@"
        echo ./setup "$@"
        ./setup "$@" \




Reply via email to