diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-03-17 19:37:33 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-03-24 17:32:30 +0100 |
commit | 9f9e349ceea3200fcdfbc8b1496ead5a26e2412e (patch) | |
tree | 01f185d8f45232f56a57468d3ad48c0a224db9bd /eclass | |
parent | app-portage/elt-patches: Split patches for elibtoolize into pkg, #566424 (diff) | |
download | gentoo-9f9e349ceea3200fcdfbc8b1496ead5a26e2412e.tar.gz gentoo-9f9e349ceea3200fcdfbc8b1496ead5a26e2412e.tar.bz2 gentoo-9f9e349ceea3200fcdfbc8b1496ead5a26e2412e.zip |
libtool.eclass: Use app-portage/elt-patches to provide patch files
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/libtool.eclass | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index a8df6ca58fef..576abd3a5f8f 100644 --- a/eclass/libtool.eclass +++ b/eclass/libtool.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: libtool.eclass @@ -16,18 +16,10 @@ if [[ -z ${_LIBTOOL_ECLASS} ]]; then _LIBTOOL_ECLASS=1 -# If an overlay has eclass overrides, but doesn't actually override the -# libtool.eclass, we'll have ECLASSDIR pointing to the active overlay's -# eclass/ dir, but libtool.eclass is still in the main Gentoo tree. So -# add a check to locate the ELT-patches/ regardless of what's going on. -# Note: Duplicated in eutils.eclass. -_LIBTOOL_ECLASSDIR_LOCAL=${BASH_SOURCE[0]%/*} +DEPEND=">=app-portage/elt-patches-20170317" + libtool_elt_patch_dir() { - local d="${ECLASSDIR}/ELT-patches" - if [[ ! -d ${d} ]] ; then - d="${_LIBTOOL_ECLASSDIR_LOCAL}/ELT-patches" - fi - echo "${d}" + echo "${EPREFIX}/usr/share/elt-patches" } inherit multilib toolchain-funcs |