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

Diff of /eclass/multilib-build.eclass

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

Revision 1.58 Revision 1.59
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 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-build.eclass,v 1.58 2014/06/29 07:53:33 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.59 2014/06/29 08:32:46 mgorny Exp $
4 4
5# @ECLASS: multilib-build.eclass 5# @ECLASS: multilib-build.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# gx86-multilib team <multilib@gentoo.org> 7# gx86-multilib team <multilib@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
152 # split on ,; we can't switch IFS for function scope because 152 # split on ,; we can't switch IFS for function scope because
153 # paludis is broken (bug #486592), and switching it locally 153 # paludis is broken (bug #486592), and switching it locally
154 # for the split is more complex than cheating like this 154 # for the split is more complex than cheating like this
155 for m_abi in ${m_abis//,/ }; do 155 for m_abi in ${m_abis//,/ }; do
156 if [[ ${m_abi} == ${abi} ]] \ 156 if [[ ${m_abi} == ${abi} ]] \
157 && has "${m_flag}" "${MULTILIB_COMPAT[@]}" \ 157 && { [[ ! "${MULTILIB_COMPAT[@]}" ]] || has "${m_flag}" "${MULTILIB_COMPAT[@]}"; } \
158 && use "${m_flag}" 158 && use "${m_flag}"
159 then 159 then
160 echo "${m_flag}.${abi}" 160 echo "${m_flag}.${abi}"
161 found=1 161 found=1
162 break 2 162 break 2

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59

  ViewVC Help
Powered by ViewVC 1.1.20