summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2007-03-09 14:43:35 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2007-03-09 14:43:35 +0000
commit56c75a9706f7e8ad524214e2b48266835f4664c3 (patch)
treed4f0595d087350950ddc5096917cbeed245e7925 /sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild
parentStable on sparc wrt #168252 (diff)
downloadgentoo-2-56c75a9706f7e8ad524214e2b48266835f4664c3.tar.gz
gentoo-2-56c75a9706f7e8ad524214e2b48266835f4664c3.tar.bz2
gentoo-2-56c75a9706f7e8ad524214e2b48266835f4664c3.zip
recommit, last minute fix.
(Portage version: 2.1.2-r9)
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.ebuild9
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