media-libs/tiff-4.0.0_beta7 links libtiff to liblzma, if the latter is installed during the configure phase: readelf -d /usr/lib/libtiff.so.5 Dynamic section at offset 0x756d0 contains 27 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [liblzma.so.5] 0x0000000000000001 (NEEDED) Shared library: [libjpeg.so.8] 0x0000000000000001 (NEEDED) Shared library: [libz.so.1] 0x0000000000000001 (NEEDED) Shared library: [libm.so.6] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x000000000000000e (SONAME) Library soname: [libtiff.so.5] [...] This can be controlled via the configure script: [...] --disable-lzma disable liblzma usage (required for LZMA2 compression, enabled by default) [...] So I suggest adding a) a USE flag for this (lzma would appropriate, I think) b) $(use_enable lzma) in the src_configure step in the ebuild. Thanks for your attention!
this is fixed in ebuild for 4.0.0 final