summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2009-11-22 21:30:20 +0000
committerSven Wegener <swegener@gentoo.org>2009-11-22 21:30:20 +0000
commit16857629ce7efd4e99b327597ff3d8b1f21525a0 (patch)
treea116e3aa6305db6145366eca709d9c3f1b0ae712 /net-fs
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-16857629ce7efd4e99b327597ff3d8b1f21525a0.tar.gz
gentoo-2-16857629ce7efd4e99b327597ff3d8b1f21525a0.tar.bz2
gentoo-2-16857629ce7efd4e99b327597ff3d8b1f21525a0.zip
Use src_configure and src_prepare for EAPI-2 compliance, this should fix bug #294082.
(Portage version: 2.2_rc51/cvs/Linux x86_64)
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/nfs-utils/ChangeLog6
-rw-r--r--net-fs/nfs-utils/nfs-utils-1.2.1.ebuild9
2 files changed, 8 insertions, 7 deletions
diff --git a/net-fs/nfs-utils/ChangeLog b/net-fs/nfs-utils/ChangeLog
index 050e3fe45c4a..b44023419dc0 100644
--- a/net-fs/nfs-utils/ChangeLog
+++ b/net-fs/nfs-utils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-fs/nfs-utils
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.162 2009/11/22 17:53:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.163 2009/11/22 21:30:20 swegener Exp $
+
+ 22 Nov 2009; Sven Wegener <swegener@gentoo.org> nfs-utils-1.2.1.ebuild:
+ Use src_configure and src_prepare for EAPI-2 compliance, this should fix
+ bug #294082.
*nfs-utils-1.2.1 (22 Nov 2009)
diff --git a/net-fs/nfs-utils/nfs-utils-1.2.1.ebuild b/net-fs/nfs-utils/nfs-utils-1.2.1.ebuild
index 0781c76a277e..b24f490418b3 100644
--- a/net-fs/nfs-utils/nfs-utils-1.2.1.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-1.2.1.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/net-fs/nfs-utils/nfs-utils-1.2.1.ebuild,v 1.1 2009/11/22 17:53:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.2.1.ebuild,v 1.2 2009/11/22 21:30:20 swegener Exp $
EAPI="2"
@@ -38,14 +38,12 @@ RDEPEND="${DEPEND_COMMON} !net-nds/portmap"
DEPEND="${DEPEND_COMMON}
>=sys-apps/util-linux-2.12r-r7"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${PN}-1.1.4-mtab-sym.patch
epatch "${FILESDIR}"/${PN}-1.1.4-no-exec.patch
}
-src_compile() {
+src_configure() {
econf \
--with-statedir=/var/lib/nfs \
--enable-tirpc \
@@ -54,7 +52,6 @@ src_compile() {
$(use_enable nfsv4) \
$(use_enable ipv6) \
$(use nfsv4 && use_enable kerberos gss || echo "--disable-gss")
- emake || die "Failed to compile"
}
src_install() {