mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
findlib.eclass: Revert "add EAPI guard"
This reverts commit 371c510d5b.
Reverting for cleaner history, will restore.
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
# @ECLASS: cdrom.eclass
|
||||
# @MAINTAINER:
|
||||
# games@gentoo.org
|
||||
# @SUPPORTED_EAPIS: 6 7
|
||||
# @BLURB: Functions for CD-ROM handling
|
||||
# @DESCRIPTION:
|
||||
# Acquire CD(s) for those lovely CD-based emerges. Yes, this violates
|
||||
@@ -15,11 +14,6 @@
|
||||
# eclass will require RESTRICT="bindist" but the point still stands.
|
||||
# The functions are generally called in src_unpack.
|
||||
|
||||
case ${EAPI:-0} in
|
||||
[67]) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_CDROM_ECLASS} ]]; then
|
||||
_CDROM_ECLASS=1
|
||||
|
||||
|
||||
@@ -6,19 +6,10 @@
|
||||
# ML <ml@gentoo.org>
|
||||
# @AUTHOR:
|
||||
# Original author: Matthieu Sozeau <mattam@gentoo.org> (retired)
|
||||
# @SUPPORTED_EAPIS: 6 7
|
||||
# @BLURB: ocamlfind (a.k.a. findlib) eclass
|
||||
# @DESCRIPTION:
|
||||
# ocamlfind (a.k.a. findlib) eclass
|
||||
|
||||
case ${EAPI:-0} in
|
||||
[67]) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_FINDLIB_ECLASS} ]] ; then
|
||||
_FINDLIB_ECLASS=1
|
||||
|
||||
# Do not complain about CFLAGS etc since ML projects do not use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
@@ -69,5 +60,3 @@ findlib_src_install() {
|
||||
findlib_src_preinst
|
||||
make DESTDIR="${D}" "$@" install || die "make failed"
|
||||
}
|
||||
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user