commit:     d7c826eaacd7e5f1787b514c066dda4a33a66345
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Nov  9 18:35:25 2025 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Nov 12 15:18:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d7c826ea

shards.eclass: add CRYSTAL_DEPS to DEPEND of non-library packages

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 eclass/shards.eclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/eclass/shards.eclass b/eclass/shards.eclass
index ec29f3c702..794ff1e522 100644
--- a/eclass/shards.eclass
+++ b/eclass/shards.eclass
@@ -93,6 +93,9 @@ if [[ ${CATEGORY} == dev-crystal ]]; then
        # To build a correct dependency graph, add Crystal version
        # restrictions to runtime dependencies of Crystal libraries.
        RDEPEND="${CRYSTAL_DEPS}"
+else
+       # Add a buildtime dependency on the Crystal standard library.
+       DEPEND="${CRYSTAL_DEPS}"
 fi
 
 # Crystal packages do not use CFLAGS

Reply via email to