mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user