--- ipset-2.4.2.ebuild.old 2008-11-09 15:30:05.000000000 +0100 +++ ipset-2.4.2.ebuild 2008-11-09 15:31:07.000000000 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-2.4.2.ebuild,v 1.1 2008/10/24 21:28:25 robbat2 Exp $ -inherit eutils versionator toolchain-funcs linux-mod linux-info +inherit eutils versionator toolchain-funcs linux-mod linux-info flag-o-matic DESCRIPTION="IPset tool for iptables, successor to ippool." HOMEPAGE="http://ipset.netfilter.org/" @@ -71,7 +71,7 @@ src_compile() { einfo "Building userspace" - emake CC="$(tc-getCC)" COPT_FLAGS="${CFLAGS}" ${myconf} binaries || die "failed to build" + emake LDDFLAGS="$(raw-ldflags)" CC="$(tc-getCC)" COPT_FLAGS="${CFLAGS}" ${myconf} binaries || die "failed to build" if [[ $modules -eq 1 ]]; then einfo "Building kernel modules"