/[gentoo-x86]/eclass/ghc-package.eclass
Gentoo

Diff of /eclass/ghc-package.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.38 Revision 1.39
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.38 2014/01/19 08:23:36 slyfox Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.39 2014/02/11 19:00:06 slyfox Exp $
4 4
5# @ECLASS: ghc-package.eclass 5# @ECLASS: ghc-package.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# "Gentoo's Haskell Language team" <haskell@gentoo.org> 7# "Gentoo's Haskell Language team" <haskell@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
122# It usually means that ghc supports for template haskell. 122# It usually means that ghc supports for template haskell.
123ghc-supports-interpreter() { 123ghc-supports-interpreter() {
124 $(ghc-getghc) --info | grep "Have interpreter" | grep -q "YES" 124 $(ghc-getghc) --info | grep "Have interpreter" | grep -q "YES"
125} 125}
126 126
127# @FUNCTION: ghc-supports-parallel-make
128# @DESCRIPTION:
129# checks if ghc has support for '--make -j' mode
130# The option was introduced in ghc-7.8-rc1.
131ghc-supports-parallel-make() {
132 $(ghc-getghc) --info | grep "Support parallel --make" | grep -q "YES"
133}
134
127# @FUNCTION: ghc-extractportageversion 135# @FUNCTION: ghc-extractportageversion
128# @DESCRIPTION: 136# @DESCRIPTION:
129# extract the version of a portage-installed package 137# extract the version of a portage-installed package
130ghc-extractportageversion() { 138ghc-extractportageversion() {
131 local pkg 139 local pkg

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

  ViewVC Help
Powered by ViewVC 1.1.20