| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 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.62 2007/07/01 22:08:15 peper Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.63 2007/07/01 23:14:58 peper Exp $ |
| 4 | # |
4 | # |
| 5 | # Maintainer: amd64@gentoo.org / toolchain@gentoo.org |
5 | # Maintainer: amd64@gentoo.org / toolchain@gentoo.org |
| 6 | # |
6 | # |
| 7 | # This eclass is for all functions pertaining to handling multilib. |
7 | # This eclass is for all functions pertaining to handling multilib. |
| 8 | # configurations. |
8 | # configurations. |
| … | |
… | |
| 210 | if [[ -z ${MULTILIB_ABIS} ]] ; then |
210 | if [[ -z ${MULTILIB_ABIS} ]] ; then |
| 211 | echo "default" |
211 | echo "default" |
| 212 | return 0 |
212 | return 0 |
| 213 | fi |
213 | fi |
| 214 | |
214 | |
| 215 | if hasq multilib-pkg-force ${RESTRICT} || [[ ${EMULTILIB_PKG} == "true" ]] |
215 | if [[ ${EMULTILIB_PKG} == "true" ]] ; then |
| 216 | then |
|
|
| 217 | for x in ${MULTILIB_ABIS} ; do |
216 | for x in ${MULTILIB_ABIS} ; do |
| 218 | if [[ ${x} != "${DEFAULT_ABI}" ]] ; then |
217 | if [[ ${x} != "${DEFAULT_ABI}" ]] ; then |
| 219 | hasq ${x} ${ABI_DENY} || ordera="${ordera} ${x}" |
218 | hasq ${x} ${ABI_DENY} || ordera="${ordera} ${x}" |
| 220 | fi |
219 | fi |
| 221 | done |
220 | done |