summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-01-26 11:34:16 +0000
committerMichał Górny <mgorny@gentoo.org>2013-01-26 11:34:16 +0000
commitd9a234b965a233e2e3b7a65725f0058715932459 (patch)
tree15d76fa21b1851f55dd8c083009acce92b7ea675 /eclass
parentarm stable, bug #453014 (diff)
downloadgentoo-2-d9a234b965a233e2e3b7a65725f0058715932459.tar.gz
gentoo-2-d9a234b965a233e2e3b7a65725f0058715932459.tar.bz2
gentoo-2-d9a234b965a233e2e3b7a65725f0058715932459.zip
Introduce MULTILIB_USEDEP to enforce correct dependencies.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/autotools-multilib.eclass14
2 files changed, 17 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 601235087b81..6884414db9b9 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.636 2013/01/25 15:10:24 haubi Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.637 2013/01/26 11:34:16 mgorny Exp $
+
+ 26 Jan 2013; Michał Górny <mgorny@gentoo.org> autotools-multilib.eclass:
+ Introduce MULTILIB_USEDEP to enforce correct dependencies.
25 Jan 2013; Michael Haubenwallner <haubi@gentoo.org>
+ELT-patches/aixrtl/1.5.0-cmds-c, +ELT-patches/aixrtl/1.5.0-cmds-cxx,
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: