This package fails to compile with LDFLAGS="-Wl,--as-needed", because its Makefile.am sets LDFLAGS instead of LDADD. The attached patch fixes that.
Created attachment 86298 [details, diff] files/xsvg-0.2.1-as-needed.patch
Created attachment 86299 [details, diff] xsvg-0.2.1-ebuild.patch
You don't really need an eautoreconf there, just run eautomake, if the version is too old, it will take care of that by itself ;)
Please fix and mark stable. At least on my system both version 0.1.2 and version 0.2.0 fail to compile. Version 0.2.1 compiles fine here (even without the patch from TGL). Can't reach homepage right now, so can't say if there are newer versions...
Is xsvg dead? Website is gone: Domain expired. No update since 2005-06-16 (xsvg-0.2.1) If it's really dead, it should be considered to be removed from portage. Meanwhile, I'm using svgdisplay from ksvg for KDE. Are there other WM-independant packages?
Fixed.