/[gentoo-x86]/eclass/haskell-cabal.eclass
Gentoo

Diff of /eclass/haskell-cabal.eclass

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

Revision 1.6 Revision 1.7
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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/haskell-cabal.eclass,v 1.6 2006/03/13 09:57:10 dcoutts Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v 1.7 2006/08/02 19:49:03 dcoutts Exp $
4# 4#
5# Original authors: Andres Loeh <kosmikus@gentoo.org> 5# Original authors: Andres Loeh <kosmikus@gentoo.org>
6# Duncan Coutts <dcoutts@gentoo.org> 6# Duncan Coutts <dcoutts@gentoo.org>
7# Maintained by: Haskell herd <haskell@gentoo.org> 7# Maintained by: Haskell herd <haskell@gentoo.org>
8# 8#
167 # register that ourselves (if it exists). 167 # register that ourselves (if it exists).
168 local result 168 local result
169 local err 169 local err
170 170
171 if [[ -n ${CABAL_HAS_LIBRARIES} ]]; then 171 if [[ -n ${CABAL_HAS_LIBRARIES} ]]; then
172 sed -i 's:ghc-pkg:/usr/bin/true:' .setup-config 172 sed -i "s|$(ghc-getghcpkg)|/usr/bin/true|" .setup-config
173 ./setup register || die "setup register failed" 173 ./setup register || die "setup register failed"
174 if [[ -f .installed-pkg-config ]]; then 174 if [[ -f .installed-pkg-config ]]; then
175 ghc-setup-pkg .installed-pkg-config 175 ghc-setup-pkg .installed-pkg-config
176 ghc-install-pkg 176 ghc-install-pkg
177 else 177 else

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20