commit:     cd69b26255e82e9025146475b53c7c61fb40876b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  6 02:45:58 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr  6 18:18:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd69b262

net-fs/openafs: move MODULES_OPTIONAL_USE to pre-inherit

Manipulates IUSE within the eclass in global scope
and is tagged as a @PRE_INHERIT variable, so must
be set pre-inherit by consumers.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-fs/openafs/openafs-1.8.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-fs/openafs/openafs-1.8.7.ebuild 
b/net-fs/openafs/openafs-1.8.7.ebuild
index 48bb3d12f89..192afc599d7 100644
--- a/net-fs/openafs/openafs-1.8.7.ebuild
+++ b/net-fs/openafs/openafs-1.8.7.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+MODULES_OPTIONAL_USE="modules"
 inherit autotools linux-mod flag-o-matic pam systemd tmpfiles toolchain-funcs
 
 MY_PV=${PV/_/}
@@ -65,7 +66,6 @@ PATCHES=( "${WORKDIR}/gentoo/patches" )
 CONFIG_CHECK="~!AFS_FS KEYS"
 ERROR_AFS_FS="OpenAFS conflicts with the in-kernel AFS-support. Make sure not 
to load both at the same time!"
 ERROR_KEYS="OpenAFS needs CONFIG_KEYS option enabled"
-MODULES_OPTIONAL_USE="modules"
 
 QA_TEXTRELS_x86_fbsd="/boot/modules/libafs.ko"
 QA_TEXTRELS_amd64_fbsd="/boot/modules/libafs.ko"

Reply via email to