The attached patch applied over current ebuild cleans up libwmf ebuild: - It adds buildtime dependency on pkgconfig, as it's used. - It changes the way X and jpeg useflags are passed to configure, using use_with instead of outer conditionals on ${myconf}. - It adds pic useflag, as usual. - It adds xml and xml2 useflags: they are used to request if we are going to use expat or libxml2. If both are used, it defaults to expat, as the automatic ./configure do. It also make optional dependency on them (before both where dependency, also if only expat was used!). - It adds a debug useflag passed to configure. - It adds a doc useflag, used to avoid installation of api documentation. Note: this doesn't add doxygen dependency as the doc is pre-build. - It adds a gtk useflag which makes it possible to avoid building gdk-pixbuf plugins (and fixes the unlinked dependency on gtk2 of the old ebuild). HTH, Diego
Created attachment 51733 [details, diff] Patch over current ebuild.
Fixed in portage, thanks for help.