path: root/VDEPENDS
AgeCommit message (Collapse)Author
2021-03-13VDEPENDS: Fix spell version check for the grimoireIsmael Luceno
2021-02-22VDEPENDS: Fix parsing of tabsIsmael Luceno
Only space characters before flags were recognized, add tab characters.
2021-02-13vdepends: replace is_version_less with a simpler is_version_geIsmael Luceno
2021-02-13vdepends: Clean subdeps when loopingIsmael Luceno
2021-02-13Add improved vdepends implementationIsmael Luceno
Example: LANGS="ADA,FORTRAN" LANGFLAGS="--enable-ada --enable-fortran" vdepends << EOF gcc[$LANGS] >= 6.0 < 7.0 flags: $LANGFLAGS binutils[LIBERTY] >= 2.35 flags: --with-liberty EOF This changes the format and adds support for: - chained comparisons - sub-dependencies - comment lines Now the check is done against the grimoire version of the spell too, to avoid casting a spell that can't satisfy the dependency.