/[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.10 Revision 1.11
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.10 2005/05/08 14:49:25 dcoutts Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.11 2005/05/11 21:26:04 kosmikus Exp $
4# 4#
5# Author: Andres Loeh <kosmikus@gentoo.org> 5# Author: Andres Loeh <kosmikus@gentoo.org>
6# 6#
7# This eclass helps with the Glasgow Haskell Compiler's package 7# This eclass helps with the Glasgow Haskell Compiler's package
8# configuration utility. 8# configuration utility.
90 local localpkgconf 90 local localpkgconf
91 localpkgconf="${S}/$(ghc-localpkgconf)" 91 localpkgconf="${S}/$(ghc-localpkgconf)"
92 echo '[]' > ${localpkgconf} 92 echo '[]' > ${localpkgconf}
93 for pkg in $*; do 93 for pkg in $*; do
94 $(ghc-getghcpkgbin) -f ${localpkgconf} -u --force \ 94 $(ghc-getghcpkgbin) -f ${localpkgconf} -u --force \
95 < ${pkg} 95 < ${pkg} || die "failed to register ${pkg}"
96 done 96 done
97} 97}
98 98
99# fixes the library and import directories path 99# fixes the library and import directories path
100# of the package configuration file 100# of the package configuration file

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20