Re: Dependency on specific PHP version

2021-01-08 Thread Mike Fischer
Thanks Stuart! That was very helpful. I must have missed that part of the pkg_add man page ;-) -- Mike Fischer > Am 08.01.2021 um 12:08 schrieb Stuart Henderson : > > "Instead I have to specify the full version, e.g. pkg_add php-7.4.14" - > that's not needed, you can use "pkg_add php%7.4". Thi

Re: Dependency on specific PHP version

2021-01-08 Thread Mike Fischer
Hi Paul! Thanks! Yes, I guess I’ll live with the extra packages. -- Mike Fischer > Am 08.01.2021 um 11:00 schrieb Paul de Weerd : > > Short version: it's complicated. I decided to let php-7.3 getting > installed not bother me :)

Re: Dependency on specific PHP version

2021-01-08 Thread Stuart Henderson
"Instead I have to specify the full version, e.g. pkg_add php-7.4.14" - that's not needed, you can use "pkg_add php%7.4". This applies to other packages where multiple versions exist too but the exact version format varies - some use e.g. "stable" instead of a number - see pkg_info -z to check

Re: Dependency on specific PHP version

2021-01-08 Thread Paul de Weerd
Hi Mike, As I was looking into exactly this not too long ago, let me share the answer I got from Stuart: > Ports can allow alternative versions with a default version > (e.g. "RUN_DEPENDS = php->=7.3,<7.5:lang/php/7.3") but it doesn't > have a way to say "php-7.3+php-pspell-7.3+php-zip-7.3 OR > p

Dependency on specific PHP version

2021-01-08 Thread Mike Fischer
Hi! I am posting this question to the list with CC to the relevant maintainers because it involves a number of packages. On a few of OpenBSD 6.8 amd64 instances using stable we are using php-7.4.x with apache-httpd and with the OpenBSD httpd as well as on the command line. Everything is kept u