commit:     873ff6bc8f5bb2016f0108d6aca7ac9a5f496bd3
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 01:22:18 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 11:29:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=873ff6bc

gap-pkg.eclass: ensure that "required" packages have the right ${CATEGORY}

Suggested-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 eclass/gap-pkg.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/gap-pkg.eclass b/eclass/gap-pkg.eclass
index 5f91e2c2a0f1..0423c9e54ef2 100644
--- a/eclass/gap-pkg.eclass
+++ b/eclass/gap-pkg.eclass
@@ -56,8 +56,8 @@ HOMEPAGE="https://www.gap-system.org/Packages/${PN}.html";
 # four somewhat differently since they are implicit dependencies of
 # everything else in the GAP ecosystem.
 _GAP_PKG_IS_REQUIRED=no
-case ${PN} in
-        gapdoc|smallgrp|primgrp|transgrp)
+case ${CATEGORY}/${PN} in
+        dev-gap/gapdoc|dev-gap/smallgrp|dev-gap/primgrp|dev-gap/transgrp)
                _GAP_PKG_IS_REQUIRED=yes
                ;;
         *)

Reply via email to