/[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.1 Revision 1.2
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.1 2004/11/03 15:06:41 kosmikus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.2 2004/11/03 20:38:35 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.
71 local localpkgconf 71 local localpkgconf
72 localpkgconf=$(ghc-confdir)/$1 72 localpkgconf=$(ghc-confdir)/$1
73 for pkg in $(ghc-listpkg ${localpkgconf}); do 73 for pkg in $(ghc-listpkg ${localpkgconf}); do
74 einfo "Registering ${pkg} ..." 74 einfo "Registering ${pkg} ..."
75 $(ghc-getghcpkgbin) -f ${localpkgconf} -s ${pkg} \ 75 $(ghc-getghcpkgbin) -f ${localpkgconf} -s ${pkg} \
76 | $(ghc-getghcpkg) -u --auto-ghci-libs --force 76 | $(ghc-getghcpkg) -u --force
77 done 77 done
78} 78}
79 79
80# re-adds all available .conf files to the global 80# re-adds all available .conf files to the global
81# package conf file, to be used on a ghc reinstallation 81# package conf file, to be used on a ghc reinstallation

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20