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

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2025-11-09 23:35:25 +05:00
parent 32b0d5d37d
commit d7c826eaac

View File

@@ -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