need use flag php_targets_php8-1 Reproducible: Always
Created attachment 824493 [details] output from emerge --info =dev-php/pecl-imagick-3.5.1
May also be usefull for dev-php/pecl-imagick-3.5.1 in order to avoid keeping multiple PHP versions installed. The required patch seems only to add php8-1 to the USE_PHP list.