commit: 72c564afc88556732b09e4b4b2cbf0f1b191900b Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Fri Dec 27 23:19:43 2019 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Fri Dec 27 23:19:59 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c564af
dev-haskell/alex: use inplace alex for tests, bug #703920 Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/703920 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> dev-haskell/alex/alex-3.2.4.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-haskell/alex/alex-3.2.4.ebuild b/dev-haskell/alex/alex-3.2.4.ebuild index 0adfe995717..d25604349f3 100644 --- a/dev-haskell/alex/alex-3.2.4.ebuild +++ b/dev-haskell/alex/alex-3.2.4.ebuild @@ -57,8 +57,10 @@ src_compile() { } src_test() { - # workaround https://github.com/haskell/cabal/issues/2398 - emake -k -C tests all + # 1. workaround Setup.hs deadlock: https://github.com/haskell/cabal/issues/2398 + # 2. use freshly built ALEX= binary and datadir path + alex_datadir="${S}"/data \ + emake -k -C tests all ALEX="${S}"/dist/build/alex/alex } src_install() {
