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.14 2007/12/13 04:44:39 dcoutts Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v 1.15 2009/07/27 19:03:20 kolmodin 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 | # |
… | |
… | |
281 | fi |
281 | fi |
282 | if [[ -z "${CABAL_HAS_BINARIES}" ]] && [[ -z "${CABAL_HAS_LIBRARIES}" ]]; then |
282 | if [[ -z "${CABAL_HAS_BINARIES}" ]] && [[ -z "${CABAL_HAS_LIBRARIES}" ]]; then |
283 | eerror "QA: Neither bin nor lib are in CABAL_FEATURES." |
283 | eerror "QA: Neither bin nor lib are in CABAL_FEATURES." |
284 | fi |
284 | fi |
285 | if [[ -n "${CABAL_UNKNOWN}" ]]; then |
285 | if [[ -n "${CABAL_UNKNOWN}" ]]; then |
286 | ewarn "Unknown entry in CABAL_FEATURES: ${CABAL_UNKNONW}" |
286 | ewarn "Unknown entry in CABAL_FEATURES: ${CABAL_UNKNOWN}" |
287 | fi |
287 | fi |
288 | if cabal-is-dummy-lib; then |
288 | if cabal-is-dummy-lib; then |
289 | einfo "${P} is included in ghc-${CABAL_CORE_LIB_GHC_PV}, nothing to install." |
289 | einfo "${P} is included in ghc-${CABAL_CORE_LIB_GHC_PV}, nothing to install." |
290 | fi |
290 | fi |
291 | } |
291 | } |