--- trunk/core/include/haskell.sminc 2010/07/01 15:38:38 5545 +++ trunk/core/include/haskell.sminc 2010/07/02 08:18:49 5571 @@ -9,6 +9,13 @@ : ${HOMEPAGE="http://hackage.haskell.org/package/${PNAME/#haskell-/}"} # some sane default dependencies +# all packages with haskell in the name needs ghc as runtime +if [[ ${PNAME/#haskell-/} != ${PNAME} ]] +then + DEPEND="${DEPEND} + >= dev-lang/ghc-6.12" +fi +# all other only as SDEPEND SDEPEND="${SDEPEND} >= dev-lang/ghc-6.12"