When setting exif use flag either in /etc/portage/make.conf or in /etc/portage/package.use/var it is not recognized when merging the php package. Only USE="exif" emerge -av php lets me merge php with exif support. Reproducible: Always Steps to Reproduce: 1. Set exif USE FLAG in /etc/portage/make.conf or in /etc/portage/package.use/var 2. emerge -av dev-lang/php Actual Results: dev-lang/php-7.0.25:7.0::gentoo USE=" [...] -exif [...]" Expected Results: dev-lang/php-7.0.25:7.0::gentoo USE=" [...] exif [...]"
Please post your `emerge --info` output in a comment.
Works fine for me. You are probably disabling exif somewhere else under /etc/portage. Try running grep -R exif /etc/portage to find it.