From 0b7ace84d015c80e4f690d4209dfaebe06685976 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 7 Oct 2012 08:29:49 +0000 Subject: Fix stupid mistake in boost-utils_get_best_slot(). --- eclass/ChangeLog | 5 ++++- eclass/boost-utils.eclass | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'eclass') diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 3065e42f3d7b..434bd49d76c4 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.428 2012/10/03 22:47:12 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.429 2012/10/07 08:29:49 mgorny Exp $ + + 07 Oct 2012; Michał Górny boost-utils.eclass: + Fix stupid mistake in boost-utils_get_best_slot(). 03 Oct 2012; Chí-Thanh Christopher Nguyễn virtualx.eclass: diff --git a/eclass/boost-utils.eclass b/eclass/boost-utils.eclass index 9a959d75f21c..1f946a416a14 100644 --- a/eclass/boost-utils.eclass +++ b/eclass/boost-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/boost-utils.eclass,v 1.2 2012/09/27 16:35:41 axs Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/boost-utils.eclass,v 1.3 2012/10/07 08:29:49 mgorny Exp $ if [[ ! ${_BOOST_ECLASS} ]]; then @@ -45,7 +45,7 @@ boost-utils_get_best_slot() { [[ ${BOOST_MAX_SLOT} ]] && pkg="<=${pkg}-${BOOST_MAX_SLOT}.9999" local cpv=$(best_version ${pkg}) - get_version_component_range 1-2 ${cpv#${pkg}-} + get_version_component_range 1-2 ${cpv#dev-libs/boost-} } # @FUNCTION: boost-utils_get_includedir -- cgit v1.2.3-65-gdbad