diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2024-01-13 20:22:18 -0500 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2024-01-22 06:29:20 -0500 |
commit | 873ff6bc8f5bb2016f0108d6aca7ac9a5f496bd3 (patch) | |
tree | b8d923bbf0b8beadf27c4b7b76923db0adfdf5c4 /eclass | |
parent | gap-pkg.eclass: don't quote argument to "case" (diff) | |
download | gentoo-873ff6bc8f5bb2016f0108d6aca7ac9a5f496bd3.tar.gz gentoo-873ff6bc8f5bb2016f0108d6aca7ac9a5f496bd3.tar.bz2 gentoo-873ff6bc8f5bb2016f0108d6aca7ac9a5f496bd3.zip |
gap-pkg.eclass: ensure that "required" packages have the right ${CATEGORY}
Suggested-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gap-pkg.eclass | 4 |
1 files 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 ;; *) |