From d7c826eaacd7e5f1787b514c066dda4a33a66345 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sun, 9 Nov 2025 23:35:25 +0500 Subject: [PATCH] shards.eclass: add CRYSTAL_DEPS to DEPEND of non-library packages Signed-off-by: Anna (cybertailor) Vyalkova --- 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