diff options
author | 2006-01-07 04:40:45 +0000 | |
---|---|---|
committer | 2006-01-07 04:40:45 +0000 | |
commit | 9a4a0f8a7351f3f248ba58ab3a88d206b924a098 (patch) | |
tree | dde449202b865d82823ec03de38cf38d04f2c42a /eclass | |
parent | New version (diff) | |
download | historical-9a4a0f8a7351f3f248ba58ab3a88d206b924a098.tar.gz historical-9a4a0f8a7351f3f248ba58ab3a88d206b924a098.tar.bz2 historical-9a4a0f8a7351f3f248ba58ab3a88d206b924a098.zip |
Fix bug #110143.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/multilib.eclass | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index 60a85cfaac56..f8fcf1cdbcd8 100644 --- a/eclass/multilib.eclass +++ b/eclass/multilib.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.46 2005/10/17 08:45:38 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.47 2006/01/07 04:40:45 eradicator Exp $ # # Author: Jeremy Huddleston <eradicator@gentoo.org> # @@ -268,14 +268,15 @@ get_all_libdirs() { local abi local dir - if has_multilib_profile; then - for abi in ${MULTILIB_ABIS}; do - [ "$(get_abi_LIBDIR ${abi})" != "lib" ] && libdirs="${libdirs} $(get_abi_LIBDIR ${abi})" - done - elif [ -n "${CONF_LIBDIR}" ]; then + # Remove when amd64's 2004.3 is purged. + if [[ -n "${CONF_LIBDIR}" ]]; then for dir in ${CONF_LIBDIR} ${CONF_MULTILIBDIR:-lib32}; do [ "${dir}" != "lib" ] && libdirs="${libdirs} ${dir}" done + else + for abi in ${MULTILIB_ABIS}; do + [ "$(get_abi_LIBDIR ${abi})" != "lib" ] && libdirs="${libdirs} $(get_abi_LIBDIR ${abi})" + done fi echo "${libdirs}" |