Else it won't compile, see error below. totem-ebuild should build_with_use-check that. case "." in /*) sd=".";; *) sd="../.";; esac; \ if [ -f "C/totem.xml" ]; then d="../"; else d="$sd/"; fi; \ (cd de/ && \ `which xml2po` -e -p \ "${d}de/de.po" \ "${d}C/totem.xml" > totem.xml.tmp && \ cp totem.xml.tmp totem.xml && rm -f totem.xml.tmp) xsltproc -o totem-C.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "`pwd`/./totem.omf.in" `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` C/totem.xml Traceback (most recent call last): File "/usr/bin/xml2po", line 35, in <module> import libxml2 ImportError: No module named libxml2 make[2]: *** [de/totem.xml] Error 1 make[2]: Leaving directory `/var/tmp/paludis/media-video/totem-2.18.1-r1/work/totem-2.18.1/help' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/paludis/media-video/totem-2.18.1-r1/work/totem-2.18.1' make: *** [all] Error 2 !!! ERROR in media-video/totem-2.18.1-r1: !!! In gnome2_src_compile at line 2941 !!! compile failure
It's not totem, it's gnome-doc-utils, and that already has a built_with_use check. That's the best we can do, until portage has use-based deps. If you build correctly to pass the built_with_use check, and later change it, there's no way we can detect it.