? dhcpv6-phases_fix.patch Index: dhcpv6-1.2.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpv6/dhcpv6-1.2.0.ebuild,v retrieving revision 1.1 diff -u -b -B -r1.1 dhcpv6-1.2.0.ebuild --- dhcpv6-1.2.0.ebuild 11 Sep 2009 01:20:07 -0000 1.1 +++ dhcpv6-1.2.0.ebuild 30 Oct 2009 22:16:33 -0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpv6/dhcpv6-1.2.0.ebuild,v 1.1 2009/09/11 01:20:07 deathwing00 Exp $ -inherit flag-o-matic +inherit flag-o-matic autotools DESCRIPTION="Server and client for DHCPv6" HOMEPAGE="https://fedorahosted.org/dhcpv6/" @@ -16,10 +16,16 @@ DEPEND=">=dev-libs/libnl-1.1" RDEPEND="${DEPEND}" +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/fix-gnusource-collisions-${PV}.patch" + eautoreconf +} + src_compile() { use static && append-ldflags -static - econf || die - epatch "${FILESDIR}/fix-gnusource-collisions-${PV}.patch" + econf emake || die }