/[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.29 Revision 1.30
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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.29 2012/04/09 18:08:45 slyfox Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v 1.30 2012/04/14 19:30:53 slyfox Exp $
4 4
5# @ECLASS: haskell-cabal.eclass 5# @ECLASS: haskell-cabal.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Haskell herd <haskell@gentoo.org> 7# Haskell herd <haskell@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
170 -o setup 170 -o setup
171 echo $(ghc-getghc) ${HCFLAGS} "$@" 171 echo $(ghc-getghc) ${HCFLAGS} "$@"
172 $(ghc-getghc) "$@" 172 $(ghc-getghc) "$@"
173 } 173 }
174 if $(ghc-supports-shared-libraries); then 174 if $(ghc-supports-shared-libraries); then
175 # some custom build systems might use external libraries, 175 # # some custom build systems might use external libraries,
176 # for which we don't have shared libs, so keep static fallback 176 # # for which we don't have shared libs, so keep static fallback
177 # Disabled '-dynamic' as ghc does not embed RPATH to used extra-libraries:
178 # bug #411789, http://hackage.haskell.org/trac/ghc/ticket/5743#comment:3
179 # make_setup -dynamic "$@" ||
177 make_setup -dynamic "$@" || make_setup "$@" || die "compiling ${setupmodule} failed" 180 make_setup "$@" || die "compiling ${setupmodule} failed"
178 else 181 else
179 make_setup "$@" || die "compiling ${setupmodule} failed" 182 make_setup "$@" || die "compiling ${setupmodule} failed"
180 fi 183 fi
181} 184}
182 185

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.20