summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-04-29 20:56:46 +0000
committerMichał Górny <mgorny@gentoo.org>2014-04-29 20:56:46 +0000
commit13d1811a742a5d72ebbd47e4def352cdc84ab143 (patch)
tree2bf1b2a457b2293ba620e3a02bb6b9a9a6fe4bf1 /eclass/multilib-build.eclass
parentMove conditionals for enabling wrappers into multilib_prepare_wrappers() and ... (diff)
downloadhistorical-13d1811a742a5d72ebbd47e4def352cdc84ab143.tar.gz
historical-13d1811a742a5d72ebbd47e4def352cdc84ab143.tar.bz2
historical-13d1811a742a5d72ebbd47e4def352cdc84ab143.zip
Disable wrappers for multilib portage only. Enable them in non-multilib profiles for consistency.
Diffstat (limited to 'eclass/multilib-build.eclass')
-rw-r--r--eclass/multilib-build.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass
index b7a1aff8c3c2..273d79a8c7da 100644
--- a/eclass/multilib-build.eclass
+++ b/eclass/multilib-build.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.41 2014/04/29 20:54:54 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.42 2014/04/29 20:56:46 mgorny Exp $
# @ECLASS: multilib-build.eclass
# @MAINTAINER:
@@ -295,7 +295,7 @@ multilib_prepare_wrappers() {
[[ ${#} -le 1 ]] || die "${FUNCNAME}: too many arguments"
- [[ ${#MULTIBUILD_VARIANTS[@]} -le 1 ]] && return
+ [[ ${COMPLETE_MULTILIB} == yes ]] && return
local root=${1:-${ED}}
local f
@@ -421,7 +421,7 @@ multilib_install_wrappers() {
[[ ${#} -le 1 ]] || die "${FUNCNAME}: too many arguments"
- [[ ${#MULTIBUILD_VARIANTS[@]} -le 1 ]] && return
+ [[ ${COMPLETE_MULTILIB} == yes ]] && return
local root=${1:-${ED}}