diff options
Diffstat (limited to 'sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild')
-rw-r--r-- | sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild b/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild index 30a350b18c9a..7e4b593a2711 100644 --- a/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild +++ b/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild,v 1.10 2007/03/09 14:35:01 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild,v 1.11 2007/03/09 14:43:35 xmerlin Exp $ inherit eutils linux-mod linux-info @@ -41,6 +41,13 @@ src_unpack() { epatch ${FILESDIR}/${PN}-remove-devfs-support.patch || die fi + if [ "$KV_PATCH" -ge "18" ] ; then + sed -i \ + -e 's|version.h|utsrelease.h|g' \ + configure \ + || die "sed failed" + fi + if [ "$KV_PATCH" -ge "19" ] ; then epatch ${FILESDIR}/${PN}-1.03.00-compile-fix-kernel-post-2.6.18.patch || die fi |