diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-01-26 11:34:16 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-01-26 11:34:16 +0000 |
commit | 09ec6387769ceabafb095c2b3746b574b2be76fa (patch) | |
tree | e30c401f9e1e8c805578cf35c5680495b9f287b0 /eclass/autotools-multilib.eclass | |
parent | arm stable, bug #453014 (diff) | |
download | historical-09ec6387769ceabafb095c2b3746b574b2be76fa.tar.gz historical-09ec6387769ceabafb095c2b3746b574b2be76fa.tar.bz2 historical-09ec6387769ceabafb095c2b3746b574b2be76fa.zip |
Introduce MULTILIB_USEDEP to enforce correct dependencies.
Diffstat (limited to 'eclass/autotools-multilib.eclass')
-rw-r--r-- | eclass/autotools-multilib.eclass | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/eclass/autotools-multilib.eclass b/eclass/autotools-multilib.eclass index 7c8697a611c8..44002c5b875f 100644 --- a/eclass/autotools-multilib.eclass +++ b/eclass/autotools-multilib.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-multilib.eclass,v 1.3 2013/01/20 23:42:48 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-multilib.eclass,v 1.4 2013/01/26 11:34:16 mgorny Exp $ # @ECLASS: autotools-multilib.eclass # @MAINTAINER: @@ -34,6 +34,18 @@ EXPORT_FUNCTIONS src_configure src_compile src_test src_install IUSE=multilib +# @ECLASS-VARIABLE: MULTILIB_USEDEP +# @DESCRIPTION: +# The USE-dependency to be used on dependencies (libraries) needing +# to support multilib as well. +# +# Example use: +# @CODE +# RDEPEND="dev-libs/libfoo[${MULTILIB_USEDEP}] +# net-libs/libbar[ssl,${MULTILIB_USEDEP}]" +# @CODE +MULTILIB_USEDEP=multilib? + # @FUNCTION: autotools-multilib_foreach_abi # @USAGE: argv... # @DESCRIPTION: |