--- a/poink-2.03.ebuild 2009-09-23 18:36:09.000000000 +0000 +++ a/poink-2.03.ebuild 2010-08-30 03:25:11.224212182 +0000 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/poink/poink-2.03.ebuild,v 1.8 2009/09/23 18:23:09 patrick Exp $ +EAPI="2" + inherit eutils toolchain-funcs DESCRIPTION="TCP/IP-based ping implementation" @@ -13,9 +15,11 @@ IUSE="" DEPEND="" -src_unpack() { - unpack ${A} +src_prepare() { epatch ${FILESDIR}/${PN}-2.03-signed-char-fixup.patch + sed -i \ + -e 's/$(CFLAGS)/$(LDFLAGS) &/' \ + Makefile || die } src_compile() {