libnl is, as the wireshark configure script notes, Linux-specific. However, the unguarded use of "use_with" causes '--without-libnl=3' to be passed to configure on OS X (or, indeed, any non-linux system), and the configure script doesn't appear to like to see parameters for '--without' options. Actually, it looks as if the ebuild line: $(use_with netlink libnl=3) \ ... should read: $(use_with netlink libnl 3) \ Output: >> Configuring source in /Volumes/Scratch/tmp/portage/net-analyzer/wireshark-1.12.1/work/wireshark-1.12.1 ... * econf: updating wireshark-1.12.1/config.guess with /opt/gentoo/usr/share/gnuconfig/config.guess * econf: updating wireshark-1.12.1/config.sub with /opt/gentoo/usr/share/gnuconfig/config.sub ./configure --prefix=/opt/gentoo/usr --build=x86_64-apple-darwin13 --host=x86_64-apple-darwin13 --mandir=/opt/gentoo/usr/share/man --infodir=/opt/gentoo/usr/share/info --datadir=/opt/gentoo/usr/share --sysconfdir=/opt/gentoo/etc --localstatedir=/opt/gentoo/var/lib --libdir=/opt/gentoo/usr/lib --disable-silent-rules --disable-dependency-tracking --enable-ipv6 --with-c-ares --without-libcap --with-gcrypt --with-geoip --without-gtk3 --without-krb5 --without-lua --without-libnl=3 --with-dumpcap-group=wireshark --with-pcap --without-portaudio --without-qt --with-libsmi --without-gnutls --with-zlib --disable-profile-build --disable-usr-local --sysconfdir=/opt/gentoo/etc/wireshark --without-adns --disable-wireshark configure: error: invalid package name: libnl=3 * ERROR: net-analyzer/wireshark-1.12.1::gentoo_prefix failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called __call-ebuildshell 'src_configure' * environment, line 341: Called src_configure * environment, line 3639: Called econf '--enable-ipv6' '--with-c-ares' '--without-libcap' '--with-gcrypt' '--with-geoip' '--without-gtk3' '--without-krb5' '--without-lua' '--without-libnl=3' '--with-dumpcap-group=wireshark' '--with-pcap' '--without-portaudio' '--without-qt' '--with-libsmi' '--without-gnutls' '--with-zlib' '--disable-profile-build' '--disable-usr-local' '--sysconfdir=/opt/gentoo/etc/wireshark' '--without-adns' '--disable-wireshark' * phase-helpers.sh, line 584: Called die * The specific snippet of code: * die "econf failed"
(In reply to Stuart Shelton from comment #0) > configure on OS X (or, indeed, any non-linux system) Or indeed, any system.
18 Sep 2014; Jeroen Roovers <jer@gentoo.org> wireshark-1.12.1.ebuild: Fix configuring without libnl (bug #523154 by Stuart Shelton).