summaryrefslogtreecommitdiff
path: root/eclass/libtool.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-15 17:37:09 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-15 17:37:09 +0100
commit586819755b4dbfdffdc8a725ab7c0f86095b8489 (patch)
treed6790c838cfe9607c996e4913fdf11bad5fdd528 /eclass/libtool.eclass
parent3f71901f8c228f4de570abed1831ce3ee425343e (diff)
gentoo resync : 15.09.2018
Diffstat (limited to 'eclass/libtool.eclass')
-rw-r--r--eclass/libtool.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
index 2e0f608d342f..4565c8a8f6f8 100644
--- a/eclass/libtool.eclass
+++ b/eclass/libtool.eclass
@@ -1,9 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: libtool.eclass
# @MAINTAINER:
# base-system@gentoo.org
+# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7
# @BLURB: quickly update bundled libtool code
# @DESCRIPTION:
# This eclass patches ltmain.sh distributed with libtoolized packages with the
@@ -16,7 +17,11 @@
if [[ -z ${_LIBTOOL_ECLASS} ]]; then
_LIBTOOL_ECLASS=1
-DEPEND=">=app-portage/elt-patches-20170422"
+case ${EAPI:-0} in
+ 0|1|2|3|4|5|6) DEPEND=">=app-portage/elt-patches-20170815" ;;
+ 7) BDEPEND=">=app-portage/elt-patches-20170815" ;;
+ *) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
+esac
inherit toolchain-funcs