--- /var/portage/net-misc/networkmanager/networkmanager-0.8.0_pre20091105.ebuild 2009-11-05 17:07:16.000000000 +0100 +++ /var/portage/net-misc/networkmanager/networkmanager-0.8.0_pre20091105.ebuild 2009-11-13 17:24:21.508255175 +0100 @@ -66,8 +66,13 @@ --with-dbus-sys-dir=/etc/dbus-1/system.d $(use_enable doc gtk-doc) $(use_with doc docs) - $(use_with resolvconf) - $(use_with connection-sharing iptables)" + $(use_with resolvconf)" + + if use connection-sharing ; then + ECONF="${ECONF} --with-iptables=/sbin/iptables" + else + ECONF="${ECONF} --without-iptables" + fi # default is dhcpcd (if none or both are specified), ISC dchclient otherwise if use dhclient ; then