From 71d50fcc5c85984a650fa258290730af3bd240ea Mon Sep 17 00:00:00 2001 From: kili Date: Tue, 19 Apr 2011 19:45:40 +0000 Subject: [PATCH] Depend on devel/hs-mtl (mtl-2) so it doesn't pick up mtl-1 by accident (if ghc is installed but hs-mtl isn't). Rule of thumb: if some hs-* port works with both mtl-1 and mtl-2, let it depend on devel/hs-mtl. If it strictly requires mtl-1, then don't let it depend on devel/hs-mtl (that part is obvious). If it doesn't specify the mtl version i the .cabal file and breaks with devel/hs-mtl installed, patch the .cabal file. I'll rebuild and check all the haskell junk on my machine and will see what can be done to hs-* ports that don't build with mtl-2 (devel/hs-mtl). If they can be fixed to work with mtl-2, mtl-1 (in lang/ghc) will be removed. What a mess! --- security/hs-asn1-data/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/security/hs-asn1-data/Makefile b/security/hs-asn1-data/Makefile index a1bc8f8189b..46a05856eef 100644 --- a/security/hs-asn1-data/Makefile +++ b/security/hs-asn1-data/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.3 2011/04/12 10:42:07 jasper Exp $ +# $OpenBSD: Makefile,v 1.4 2011/04/19 19:45:40 kili Exp $ COMMENT= ASN1 data reader and writer for various forms DISTNAME= asn1-data-0.4.6 +REVISION= 0 CATEGORIES= security converters MAINTAINER= Jasper Lievisse Adriaanse @@ -19,6 +20,7 @@ MODGHC_BUILD = cabal hackage haddock register RUN_DEPENDS = devel/hs-binary>=0.5 \ hs-enumerator->=0.4.5,<0.5:devel/hs-enumerator \ + devel/hs-mtl \ textproc/hs-attoparsec-enumerator BUILD_DEPENDS = ${RUN_DEPENDS}