The AX_LIBSMI macro in configure isn't expanded because aclocal is run without including the directory where the macro is defined. This causes the build to break later because @LIBSMI_LDFLAGS@ isn't substituted in the Makefiles and is passed verbatim to gcc. ebuild patch attached. Reproducible: Always
Created attachment 165844 [details, diff] wireshark-1.1.0.ebuild patch
Well, patch is a bit redudant as our autotools eclass should add required AT_M4DIR from Makefile.am. Makefile.am has: ACLOCAL_AMFLAGS = `./aclocal-flags` and our autotools.eclass has: local amflags_file for amflags_file in GNUmakefile.am Makefile.am GNUmakefile.in Makefile.in ; do [[ -e ${amflags_file} ]] || continue aclocal_opts=$(sed -n '/^ACLOCAL_AMFLAGS[[:space:]]*=/s:[^=]*=::p' ${amflags_file}) eval aclocal_opts=\"${aclocal_opts}\" break done Please, check that your /usr/portage/autotools.eclass has above code. If all in place, then please, show me full build output, USE flags, and other relevant information.
Ok, resolving as WORKSFORME. If build still fails for you, please, reopen with additional information.
I forgot that I was emerging on one of my "legacy" machines that my customer won't let me update. I'm sure it works fine on current systems. Sorry for the noise. (Maybe someone else stuck maintaining an older system will find it useful. :)