diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2015-09-20 16:04:26 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2015-09-20 19:50:23 +0100 |
commit | 6acfd7034c095e9132251dfdaf2e94d9354ff97e (patch) | |
tree | b697ec3d4680510b255e318cab3df61883df205f /dev-haskell/cgi | |
parent | dev-haskell/mtl: alpha amd64 ia64 ppc ppc64 sparc x86 stable, bug #524790 (diff) | |
download | gentoo-6acfd7034c095e9132251dfdaf2e94d9354ff97e.tar.gz gentoo-6acfd7034c095e9132251dfdaf2e94d9354ff97e.tar.bz2 gentoo-6acfd7034c095e9132251dfdaf2e94d9354ff97e.zip |
dev-haskell/cgi: fix lower bound
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-haskell/cgi')
-rw-r--r-- | dev-haskell/cgi/cgi-3001.2.2.2.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-haskell/cgi/cgi-3001.2.2.2.ebuild b/dev-haskell/cgi/cgi-3001.2.2.2.ebuild index f898f9acda70..08da1dc89c89 100644 --- a/dev-haskell/cgi/cgi-3001.2.2.2.ebuild +++ b/dev-haskell/cgi/cgi-3001.2.2.2.ebuild @@ -20,7 +20,7 @@ KEYWORDS="alpha amd64 ppc sparc x86" IUSE="+network-uri" RDEPEND="<dev-haskell/exceptions-0.9:=[profile?] - >=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] + >=dev-haskell/mtl-2.1.3.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] dev-haskell/mtl-compat:= >=dev-haskell/multipart-0.1.2:=[profile?] <dev-haskell/multipart-0.2:=[profile?] <dev-haskell/old-locale-1.1:=[profile?] @@ -37,6 +37,12 @@ DEPEND="${RDEPEND} " src_configure() { + local mtl_arg=() + + has_version '<dev-haskell/mtl-2.2' && \ + mtl_arg+=(--flag=old-mtl) + haskell-cabal_src_configure \ - $(cabal_flag network-uri network-uri) + $(cabal_flag network-uri network-uri) \ + ${mtl_arg} } |