mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
haskell-cabal.eclass: add SUPPORTED_EAPIS {0..7} annotation
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
# @ECLASS: haskell-cabal.eclass
|
||||
# @MAINTAINER:
|
||||
# Haskell herd <haskell@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7
|
||||
# @AUTHOR:
|
||||
# Original author: Andres Loeh <kosmikus@gentoo.org>
|
||||
# Original author: Duncan Coutts <dcoutts@gentoo.org>
|
||||
@@ -120,8 +121,9 @@ HASKELL_CABAL_EXPF="pkg_setup src_compile src_test src_install pkg_postinst pkg_
|
||||
QA_CONFIGURE_OPTIONS+=" --with-compiler --with-hc --with-hc-pkg --with-gcc"
|
||||
|
||||
case "${EAPI:-0}" in
|
||||
0|1) ;;
|
||||
2|3|4|5|6|7) HASKELL_CABAL_EXPF+=" src_configure" ;;
|
||||
*) ;;
|
||||
*) die "EAPI ${EAPI} unsupported." ;;
|
||||
esac
|
||||
|
||||
EXPORT_FUNCTIONS ${HASKELL_CABAL_EXPF}
|
||||
|
||||
Reference in New Issue
Block a user