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

Diff of /eclass/multilib.eclass

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

Revision 1.90 Revision 1.91
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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.90 2011/03/18 22:03:25 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.91 2011/07/08 11:35:01 ssuominen 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
173 fi 173 fi
174 174
175 if [[ ${EMULTILIB_PKG} == "true" ]] ; then 175 if [[ ${EMULTILIB_PKG} == "true" ]] ; then
176 for x in ${MULTILIB_ABIS} ; do 176 for x in ${MULTILIB_ABIS} ; do
177 if [[ ${x} != "${DEFAULT_ABI}" ]] ; then 177 if [[ ${x} != "${DEFAULT_ABI}" ]] ; then
178 hasq ${x} ${ABI_DENY} || order="${order} ${x}" 178 has ${x} ${ABI_DENY} || order="${order} ${x}"
179 fi 179 fi
180 done 180 done
181 hasq ${DEFAULT_ABI} ${ABI_DENY} || order="${order} ${DEFAULT_ABI}" 181 has ${DEFAULT_ABI} ${ABI_DENY} || order="${order} ${DEFAULT_ABI}"
182 182
183 if [[ -n ${ABI_ALLOW} ]] ; then 183 if [[ -n ${ABI_ALLOW} ]] ; then
184 local ordera="" 184 local ordera=""
185 for x in ${order} ; do 185 for x in ${order} ; do
186 if hasq ${x} ${ABI_ALLOW} ; then 186 if has ${x} ${ABI_ALLOW} ; then
187 ordera="${ordera} ${x}" 187 ordera="${ordera} ${x}"
188 fi 188 fi
189 done 189 done
190 order=${ordera} 190 order=${ordera}
191 fi 191 fi

Legend:
Removed from v.1.90  
changed lines
  Added in v.1.91

  ViewVC Help
Powered by ViewVC 1.1.20