1 |
Although the eclass does 'multilib?' only now, in the future it is |
2 |
likely to use more fine-tuned ABI flags. |
3 |
--- |
4 |
gx86/eclass/autotools-multilib.eclass | 12 ++++++++++++ |
5 |
1 file changed, 12 insertions(+) |
6 |
|
7 |
diff --git a/gx86/eclass/autotools-multilib.eclass b/gx86/eclass/autotools-multilib.eclass |
8 |
index fe6372d..d4e0f77 100644 |
9 |
--- a/gx86/eclass/autotools-multilib.eclass |
10 |
+++ b/gx86/eclass/autotools-multilib.eclass |
11 |
@@ -34,6 +34,18 @@ EXPORT_FUNCTIONS src_configure src_compile src_test src_install |
12 |
|
13 |
IUSE=multilib |
14 |
|
15 |
+# @ECLASS-VARIABLE: MULTILIB_USEDEP |
16 |
+# @DESCRIPTION: |
17 |
+# The USE-dependency to be used on dependencies (libraries) needing |
18 |
+# to support multilib as well. |
19 |
+# |
20 |
+# Example use: |
21 |
+# @CODE |
22 |
+# RDEPEND="dev-libs/libfoo[${MULTILIB_USEDEP}] |
23 |
+# net-libs/libbar[ssl,${MULTILIB_USEDEP}]" |
24 |
+# @CODE |
25 |
+MULTILIB_USEDEP=multilib? |
26 |
+ |
27 |
# @FUNCTION: autotools-multilib_foreach_abi |
28 |
# @USAGE: argv... |
29 |
# @DESCRIPTION: |
30 |
-- |
31 |
1.8.1 |