New comment by TinfoilSubmarine on void-packages repository https://github.com/void-linux/void-packages/pull/44946#issuecomment-1669546724 Comment: > Why not: > > `depends=">php7.1.3 mariadb"` > > or maybe: > > `depends="php mariadb"` > > When no version is given version is set to `>=0` according to the [manual](https://github.com/void-linux/void-packages/blob/master/Manual.md#optional_vars) and _not_ the same as when _installing_ it without version. This doesn't work how you think in this case. The version numbers in "php8.0", "php8.1", and "php8.2" are actually part of the package name. The real version of the package comes after the dash ('-'), i.e. the version of php8.0 is 8.0.29: `php8.0-8.0.29_1`. > Let me add one more case, you should suggest MariaDB not force to install it. People can often? have remote databases, and having one run for nothing is way worse. I agree :+1: