In one place '$(use_with xml libxml2)' (correctly) is used, two lines below '--disable-libxml2' is used.
Looks valid to me: if use expat; then myconf+=" --disable-libxml2" else myconf+=$(use_with xml libxml2) fi When USE expat is enabled, --disable-libxml2 is always passed, when it's disabled, libxml2 can be enabled/disabled
And looks consistent with deps: xml? ( expat? ( dev-libs/expat ) !expat? ( dev-libs/libxml2 )
This was introduced in bug 373919
No, it's *obviously* not valid (as the previous part makes it clear), that part should be '--without-libxml2'.
+ 12 May 2012; Pacho Ramos <pacho@gentoo.org> libwmf-0.2.8.4-r4.ebuild: + Fix typo, move from 'disable' to 'without' configure option, bug #415293 by + Rafał Mużyło. +