Due to bug #137204 --disable-swf got introduced into the ebuild. Ming has been updated since then to 0.4 and should allow re-enabling this feature. Currently, I have: # cat /etc/portage/package.use media-gfx/pstoedit emf swf imagemagick plotutils >>> Emerging (1 of 1) media-gfx/pstoedit-3.45 * pstoedit-3.45.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking pstoedit-3.45.tar.gz to /var/tmp/portage/media-gfx/pstoedit-3.45/work * Applying pstoedit-3.45-gcc-4.3.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-gfx/pstoedit-3.45/work/pstoedit-3.45 ... * econf: updating pstoedit-3.45/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pstoedit-3.45/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-emf --without-swf --with-magick --with-libplot --build=i686-pc-linux-gnu
With 3.50 I get: /bin/sh ../libtool --tag=CXX --mode=compile x86_64-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DHAVE_LIBPLOTTER -DHAVE_LIBMING -DHAVE_MKSTEMP -DHAVE_MAGIC -fopenmp -I/usr/include/ImageMagick -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR="\"/usr/share/pstoedit\"" -DPSTOEDITLIBDIR="\"/usr/lib64/pstoedit\"" -DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-long-long -D_LITTLE_ENDIAN -O2 -g -march=core2 -msse4.1 -fomit-frame-pointer -pipe -ftree-vectorize -fdirectives-only -DINTERNALBOOL -MT drvswf.lo -MD -MP -MF .deps/drvswf.Tpo -c -o drvswf.lo drvswf.cpp libtool: compile: x86_64-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DHAVE_LIBPLOTTER -DHAVE_LIBMING -DHAVE_MKSTEMP -DHAVE_MAGIC -fopenmp -I/usr/include/ImageMagick -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR=\"/usr/share/pstoedit\" -DPSTOEDITLIBDIR=\"/usr/lib64/pstoedit\" -DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-long-long -D_LITTLE_ENDIAN -O2 -g -march=core2 -msse4.1 -fomit-frame-pointer -pipe -ftree-vectorize -fdirectives-only -DINTERNALBOOL -MT drvswf.lo -MD -MP -MF .deps/drvswf.Tpo -c drvswf.cpp -fPIC -DPIC -o .libs/drvswf.o drvswf.cpp:35:25: error: ming_config.h: No such file or directory
fixed in 3.50-r1
Works on ~x86, thanks.