diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2012-10-12 21:09:49 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2012-10-12 21:09:49 +0000 |
commit | 7db6d1fbbb44b56935eb03a657fa0203510bb950 (patch) | |
tree | 6b7bc1cd88b6e2d9d6279532bae168e3704b46cd /net-misc/ifenslave/ifenslave-1.1.0-r5.ebuild | |
parent | More g510 fun. 1.9.5.3-r6 will give you partial support, 9999 will give you f... (diff) | |
download | gentoo-2-7db6d1fbbb44b56935eb03a657fa0203510bb950.tar.gz gentoo-2-7db6d1fbbb44b56935eb03a657fa0203510bb950.tar.bz2 gentoo-2-7db6d1fbbb44b56935eb03a657fa0203510bb950.zip |
Bug #438048: Check for CONFIG_BONDING and warn otherwise.
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/ifenslave/ifenslave-1.1.0-r5.ebuild')
-rw-r--r-- | net-misc/ifenslave/ifenslave-1.1.0-r5.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/net-misc/ifenslave/ifenslave-1.1.0-r5.ebuild b/net-misc/ifenslave/ifenslave-1.1.0-r5.ebuild index e1942dd39870..14e492055681 100644 --- a/net-misc/ifenslave/ifenslave-1.1.0-r5.ebuild +++ b/net-misc/ifenslave/ifenslave-1.1.0-r5.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ifenslave/ifenslave-1.1.0-r5.ebuild,v 1.5 2010/03/20 17:04:28 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ifenslave/ifenslave-1.1.0-r5.ebuild,v 1.6 2012/10/12 21:09:49 robbat2 Exp $ -inherit toolchain-funcs eutils +inherit toolchain-funcs eutils linux-info DESCRIPTION="Attach and detach slave interfaces to a bonding device" HOMEPAGE="http://sf.net/projects/bonding/" @@ -22,6 +22,9 @@ DEPEND="sys-devel/gcc >=sys-kernel/linux-headers-2.4.22 ${RDEPEND}" +CONFIG_CHECK="~BONDING" +WARNING_BONDING="CONFIG_BONDING is required to get bond devices in the kernel" + src_unpack() { unpack ${DEBIANPKG_TARBALL} EPATCH_OPTS="-d ${S} -p1" epatch "${DISTDIR}"/${DEBIANPKG_PATCH} |