From 719e603139fa9afeaa2307f97f293448913bfc6d Mon Sep 17 00:00:00 2001 From: Benda XU Date: Sat, 12 May 2012 09:23:09 +0000 Subject: rearrange the ebuild to comply with EAPI=4, thanks to ssuominen (Portage version: 2.1.10.57/cvs/Linux x86_64) --- sys-fs/reiserfsprogs/ChangeLog | 5 ++++- sys-fs/reiserfsprogs/reiserfsprogs-3.6.21-r1.ebuild | 15 ++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'sys-fs') diff --git a/sys-fs/reiserfsprogs/ChangeLog b/sys-fs/reiserfsprogs/ChangeLog index df666e55ecba..55a655cef000 100644 --- a/sys-fs/reiserfsprogs/ChangeLog +++ b/sys-fs/reiserfsprogs/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/reiserfsprogs # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfsprogs/ChangeLog,v 1.67 2012/05/12 08:58:11 heroxbd Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfsprogs/ChangeLog,v 1.68 2012/05/12 09:23:09 heroxbd Exp $ + + 12 May 2012; Benda Xu reiserfsprogs-3.6.21-r1.ebuild: + rearrange the ebuild to comply with EAPI=4, thanks to ssuominen 12 May 2012; Benda Xu reiserfsprogs-3.6.21-r1.ebuild: use EAPI=4 for prefix support diff --git a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.21-r1.ebuild b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.21-r1.ebuild index 9e917fb72075..2a40f2c05394 100644 --- a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.21-r1.ebuild +++ b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.21-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfsprogs/reiserfsprogs-3.6.21-r1.ebuild,v 1.9 2012/05/12 08:58:11 heroxbd Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfsprogs/reiserfsprogs-3.6.21-r1.ebuild,v 1.10 2012/05/12 09:23:09 heroxbd Exp $ EAPI="4" @@ -12,23 +12,20 @@ SRC_URI="mirror://kernel/linux/utils/fs/reiserfs/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 -sparc x86" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux ~x86-linux" IUSE="" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${P}-fsck-n.patch epatch "${FILESDIR}"/${P}-fix_large_fs.patch } -src_compile() { - econf --prefix="${EPREFIX}" || die "Failed to configure" - emake || die "Failed to compile" +src_configure() { + econf --prefix="${EPREFIX}" } src_install() { - emake DESTDIR="${D}" install || die "Failed to install" + emake DESTDIR="${D}" install dosym reiserfsck /sbin/fsck.reiserfs dosym mkreiserfs /sbin/mkfs.reiserfs dodoc ChangeLog INSTALL README -- cgit v1.2.3-65-gdbad