/[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.25 Revision 1.26
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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.25 2007/12/13 04:42:48 dcoutts Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.26 2008/01/06 19:30:24 swegener Exp $
4# 4#
5# Author: Andres Loeh <kosmikus@gentoo.org> 5# Author: Andres Loeh <kosmikus@gentoo.org>
6# Maintained by: Haskell herd <haskell@gentoo.org> 6# Maintained by: Haskell herd <haskell@gentoo.org>
7# 7#
8# This eclass helps with the Glasgow Haskell Compiler's package 8# This eclass helps with the Glasgow Haskell Compiler's package
82 done 82 done
83 return 1 83 return 1
84} 84}
85 85
86# checks if ghc and ghc-bin are installed in the same version 86# checks if ghc and ghc-bin are installed in the same version
87# (if they're both installed); if this is not the case, we 87# (if they're both installed); if this is not the case, we
88# unfortunately cannot trust portage's dependency resolution 88# unfortunately cannot trust portage's dependency resolution
89ghc-saneghc() { 89ghc-saneghc() {
90 local ghcversion 90 local ghcversion
91 local ghcbinversion 91 local ghcbinversion
92 if [[ "${PN}" == "ghc" || "${PN}" == "ghc-bin" ]]; then 92 if [[ "${PN}" == "ghc" || "${PN}" == "ghc-bin" ]]; then

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.20