Index: rpcbind-0.2.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-0.2.0.ebuild,v retrieving revision 1.7 diff -u -p -r1.7 rpcbind-0.2.0.ebuild --- rpcbind-0.2.0.ebuild 24 Mar 2011 10:05:57 -0000 1.7 +++ rpcbind-0.2.0.ebuild 6 Apr 2011 22:15:51 -0000 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-0.2.0.ebuild,v 1.7 2011/03/24 10:05:57 tomka Exp $ +EAPI="2" + if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://git.infradead.org/~steved/rpcbind.git" inherit autotools git @@ -17,26 +19,24 @@ HOMEPAGE="http://sourceforge.net/project LICENSE="BSD" SLOT="0" -IUSE="" +IUSE="ipv6" DEPEND="net-libs/libtirpc" RDEPEND=${DEPEND} -src_unpack() { +src_prepare() { if [[ ${PV} == "9999" ]] ; then - git_src_unpack eautoreconf else - unpack ${A} - cd "${S}" # fix busted timestamps find . -type f -print0 | xargs -0 touch -r . fi + + use ipv6 || sed -i '/^INCLUDES/s: -DINET6 : :' src/Makefile.in } -src_compile() { - econf --bindir=/sbin || die - emake || die +src_configure() { + econf --bindir=/sbin } src_install() {