/[gentoo-x86]/eclass/multilib.eclass
Gentoo

Diff of /eclass/multilib.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.82 Revision 1.83
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.82 2011/03/10 04:26:38 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.83 2011/03/10 04:29:58 vapier Exp $
4 4
5# @ECLASS: multilib.eclass 5# @ECLASS: multilib.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# amd64@gentoo.org 7# amd64@gentoo.org
8# toolchain@gentoo.org 8# toolchain@gentoo.org
253# Return true if ${ABI} is the last ABI on our list (or if we're not 253# Return true if ${ABI} is the last ABI on our list (or if we're not
254# using the new multilib configuration. This can be used to determine 254# using the new multilib configuration. This can be used to determine
255# if we're in the last (or only) run through src_{unpack,compile,install} 255# if we're in the last (or only) run through src_{unpack,compile,install}
256is_final_abi() { 256is_final_abi() {
257 has_multilib_profile || return 0 257 has_multilib_profile || return 0
258 local ALL_ABIS=$(get_install_abis) 258 set -- $(get_install_abis)
259 local LAST_ABI=${ALL_ABIS/* /} 259 local LAST_ABI=$#
260 [[ ${LAST_ABI} == ${ABI} ]] 260 [[ ${!LAST_ABI} == ${ABI} ]]
261} 261}
262 262
263# @FUNCTION: number_abis 263# @FUNCTION: number_abis
264# @DESCRIPTION: 264# @DESCRIPTION:
265# echo the number of ABIs we will be installing for 265# echo the number of ABIs we will be installing for

Legend:
Removed from v.1.82  
changed lines
  Added in v.1.83

  ViewVC Help
Powered by ViewVC 1.1.20