Mailing List Archive

[PATCH 2/2] multilib.eclass: add comment on get_libdir usage in main @DESCRIPTION
I see this mistake quite often still and I think it's worth
pointing out that multilib.eclass should not be inherited
purely for get_libdir.

Reported-by: Aaron W. Swenson <titanofold@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
---
eclass/multilib.eclass | 2 ++
1 file changed, 2 insertions(+)

diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index e3c0d78a6e43..32b23c4ec52b 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -8,6 +8,8 @@
# @BLURB: This eclass is for all functions pertaining to handling multilib configurations.
# @DESCRIPTION:
# This eclass is for all functions pertaining to handling multilib configurations.
+# (For legacy EAPIs, this eclass was often needed for get_libdir. get_libdir is
+# provided by EAPI 6+ and hence this eclass isn't needed for that.)

case ${EAPI} in
6|7|8) ;;
--
2.37.2