commit: 699415c7e8149e1029a50182dd026e5c7cd46928
Author: hololeap <hololeap <AT> protonmail <DOT> com>
AuthorDate: Fri Nov 17 05:44:58 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 18:32:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=699415c7
dev-haskell/hdbc: Fix dependencies
Add missing src_configure to pass needed flags.
Loosen constraint on 'time'. This allows hdbc-2.4.0.3 to be built on
newer GHC.
Signed-off-by: hololeap <hololeap <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-haskell/hdbc/hdbc-2.4.0.3.ebuild | 14 ++++++++++++++
1 file changed, 14 insertions(+)
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[@]}
+}