summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-haskell/hdbc/hdbc-2.4.0.3.ebuild14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-haskell/hdbc/hdbc-2.4.0.3.ebuild b/dev-haskell/hdbc/hdbc-2.4.0.3.ebuild
index 16d3945d0c86..858dae90cb35 100644
--- a/dev-haskell/hdbc/hdbc-2.4.0.3.ebuild
+++ b/dev-haskell/hdbc/hdbc-2.4.0.3.ebuild
@@ -23,6 +23,10 @@ IUSE=""
RESTRICT="test" # Requires unmaintaned dev-haskell/testpack
+CABAL_CHDEPS=(
+ 'time >= 1.5 && < 1.10' 'time >= 1.5'
+)
+
RDEPEND=">=dev-haskell/convertible-1.1.0.0:=[profile?]
dev-haskell/mtl:=[profile?]
dev-haskell/old-locale:=[profile?]
@@ -36,3 +40,13 @@ DEPEND="${RDEPEND}
"
S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ config_flags=(
+ --flag=-buildtests
+ --flag=splitBase
+ --flag=minTime15
+ )
+
+ haskell-cabal_src_configure ${config_flags[@]}
+}