summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-03-11 11:09:04 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-03-11 11:09:04 +0000
commitdfcae2e0c7f72c525543663b9c53091a156dd7bd (patch)
tree306ed22d85ba92485e7771adb021f9b866135375 /sys-freebsd/freebsd-rescue
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-dfcae2e0c7f72c525543663b9c53091a156dd7bd.tar.gz
gentoo-2-dfcae2e0c7f72c525543663b9c53091a156dd7bd.tar.bz2
gentoo-2-dfcae2e0c7f72c525543663b9c53091a156dd7bd.zip
Convert to eapi2, nuke built_with_use, nis is always enabled in freebsd-lib so no need to check it
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-freebsd/freebsd-rescue')
-rw-r--r--sys-freebsd/freebsd-rescue/ChangeLog7
-rw-r--r--sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild17
2 files changed, 12 insertions, 12 deletions
diff --git a/sys-freebsd/freebsd-rescue/ChangeLog b/sys-freebsd/freebsd-rescue/ChangeLog
index c7d01d559b84..598c9d7ecf15 100644
--- a/sys-freebsd/freebsd-rescue/ChangeLog
+++ b/sys-freebsd/freebsd-rescue/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-freebsd/freebsd-rescue
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/ChangeLog,v 1.20 2010/03/11 11:02:31 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/ChangeLog,v 1.21 2010/03/11 11:09:04 aballier Exp $
+
+ 11 Mar 2010; Alexis Ballier <aballier@gentoo.org>
+ freebsd-rescue-7.2.ebuild:
+ Convert to eapi2, nuke built_with_use, nis is always enabled in
+ freebsd-lib so no need to check it
11 Mar 2010; Alexis Ballier <aballier@gentoo.org>
-files/freebsd-rescue-5.4-sbin-gentoo.patch, -freebsd-rescue-6.2.ebuild,
diff --git a/sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild b/sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild
index d31e9da24ff3..3043900266e1 100644
--- a/sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild
+++ b/sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild,v 1.1 2009/05/22 13:40:51 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild,v 1.2 2010/03/11 11:09:04 aballier Exp $
+
+EAPI=2
inherit bsdmk freebsd
@@ -23,6 +25,7 @@ SRC_URI="mirror://gentoo/${UBIN}.tar.bz2
RDEPEND=""
DEPEND="sys-devel/flex
+ =sys-freebsd/freebsd-lib-${RV}*[atm?]
=sys-freebsd/freebsd-sources-${RV}*
=sys-freebsd/freebsd-mk-defs-${RV}*"
@@ -32,18 +35,10 @@ pkg_setup() {
use atm || mymakeopts="${mymakeopts} NO_ATM= "
use nis || mymakeopts="${mymakeopts} NO_NIS= "
- for flag in atm nis; do
- if use ${flag} && ! built_with_use sys-libs/freebsd-lib ${flag}; then
- die "You can't add ${flag} support here without adding it to sys-libs/freebsd-lib"
- fi
- done
-
# append-flags -fno-stack-protector -fno-stack-protector-all
}
-src_unpack() {
- freebsd_src_unpack
-
+src_prepare() {
# As they are patches from ${WORKDIR} apply them by hand
cd "${WORKDIR}"
epatch "${FILESDIR}/${PN}"-5.4-gentoo.patch