From fa6bb99e861a2319655a99c7f6580ebe7650e162 Mon Sep 17 00:00:00 2001 From: Ryan Hill Date: Mon, 27 Jul 2009 01:40:20 +0000 Subject: Move econf to src_configure() where it belongs w/ EAPI=2 to prevent it from being run twice. Fixes bug #279240. Use emake instead of make. (Portage version: 2.2_rc33/cvs/Linux x86_64) --- sys-apps/parted/ChangeLog | 7 ++++++- sys-apps/parted/parted-1.9.0.ebuild | 7 +++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/sys-apps/parted/ChangeLog b/sys-apps/parted/ChangeLog index 2382e4c79a2a..351120dbd827 100644 --- a/sys-apps/parted/ChangeLog +++ b/sys-apps/parted/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/parted # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/parted/ChangeLog,v 1.133 2009/07/26 19:15:17 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/parted/ChangeLog,v 1.134 2009/07/27 01:40:20 dirtyepic Exp $ + + 27 Jul 2009; Ryan Hill parted-1.9.0.ebuild: + Move econf to src_configure() where it belongs w/ EAPI=2 to prevent it + from + being run twice. Fixes bug #279240. Use emake instead of make. 26 Jul 2009; Jeroen Roovers -files/005_all_parted-1.6.3-pyparted.patch: diff --git a/sys-apps/parted/parted-1.9.0.ebuild b/sys-apps/parted/parted-1.9.0.ebuild index 2bc4e82e1256..fe330c08f72d 100644 --- a/sys-apps/parted/parted-1.9.0.ebuild +++ b/sys-apps/parted/parted-1.9.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/parted/parted-1.9.0.ebuild,v 1.1 2009/07/26 19:13:37 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/parted/parted-1.9.0.ebuild,v 1.2 2009/07/27 01:40:20 dirtyepic Exp $ EAPI="2" @@ -27,7 +27,7 @@ DEPEND=">=sys-fs/e2fsprogs-1.27 sys-fs/device-mapper ) )" -src_compile() { +src_configure() { econf \ $(use_with readline) \ $(use_enable nls) \ @@ -36,11 +36,10 @@ src_compile() { $(use_enable device-mapper) \ --disable-rpath \ --disable-Werror || die "Configure failed" - emake || die "Make failed" } src_install() { - make install DESTDIR="${D}" || die "Install failed" + emake install DESTDIR="${D}" || die "Install failed" dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO dodoc doc/{API,FAT,USER.jp} } -- cgit v1.2.3-65-gdbad