# qfile /usr/lib64/ImageMagick-7.0.7/modules-Q16/coders/dng.so media-gfx/imagemagick (/usr/lib64/ImageMagick-7.0.7/modules-Q16/coders/dng.so) # ldd /usr/lib64/ImageMagick-7.0.7/modules-Q16/coders/dng.so | grep libraw libraw_r.so.16 => /usr/lib64/libraw_r.so.16 (0x00007f95c6024000) # qfile /usr/lib64/libraw_r.so.16 media-libs/libraw (/usr/lib64/libraw_r.so.16) This shows up during configure as: [...] checking for RAW_R... yes [...] RAW --with-raw=yes yes [...] The ebuild has a "raw" USE flag, but it only pulls in a media-gfx/ufraw dependency and doesn't pass a configure option. Looks like libraw support (and thus the automagic dep) was added somewhat recently.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2ea02731644f9985f477f42d7e03bc8c150f7ca commit a2ea02731644f9985f477f42d7e03bc8c150f7ca Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-07-03 10:20:14 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-07-03 10:20:14 +0000 media-gfx/imagemagick: Bump to versions 6.9.10.3 and 7.0.8.3 Fixed automagic dependency in media-libs/libraw. Not added to older versions yet. Bug: https://bugs.gentoo.org/656954 Package-Manager: Portage-2.3.41, Repoman-2.3.9 media-gfx/imagemagick/Manifest | 2 + media-gfx/imagemagick/imagemagick-6.9.10.3.ebuild | 186 ++++++++++++++++++++++ media-gfx/imagemagick/imagemagick-7.0.8.3.ebuild | 186 ++++++++++++++++++++++ 3 files changed, 374 insertions(+)