summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2008-01-30 23:08:09 +0000
committerJurek Bartuszek <jurek@gentoo.org>2008-01-30 23:08:09 +0000
commit084eea54f4479b7c4819f35529f70083902b9ed4 (patch)
treebf8818dcd3d6b349750d842e37070cb8aec49c29 /app-laptop/acerhk
parentinitial portage proper release - from the bangert overlay - credits for the o... (diff)
downloadgentoo-2-084eea54f4479b7c4819f35529f70083902b9ed4.tar.gz
gentoo-2-084eea54f4479b7c4819f35529f70083902b9ed4.tar.bz2
gentoo-2-084eea54f4479b7c4819f35529f70083902b9ed4.zip
app-laptop/acerhk-0.5.35: Make acerhk build against 2.6.24 kernel (bug #207601)
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-laptop/acerhk')
-rw-r--r--app-laptop/acerhk/ChangeLog7
-rw-r--r--app-laptop/acerhk/acerhk-0.5.35.ebuild15
2 files changed, 16 insertions, 6 deletions
diff --git a/app-laptop/acerhk/ChangeLog b/app-laptop/acerhk/ChangeLog
index fe0ca37c4bb9..97ac8d8c6cd5 100644
--- a/app-laptop/acerhk/ChangeLog
+++ b/app-laptop/acerhk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-laptop/acerhk
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/ChangeLog,v 1.26 2007/07/01 13:26:32 jurek Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/ChangeLog,v 1.27 2008/01/30 23:08:09 jurek Exp $
+
+ 30 Jan 2008; Jurek Bartuszek <jurek@gentoo.org> acerhk-0.5.35.ebuild:
+ Make acerhk build against 2.6.24 kernel (bug #207601)
01 Jul 2007; Jurek Bartuszek <jurek@gentoo.org> -acerhk-0.5.34.ebuild,
acerhk-0.5.35.ebuild:
diff --git a/app-laptop/acerhk/acerhk-0.5.35.ebuild b/app-laptop/acerhk/acerhk-0.5.35.ebuild
index 939bc834dae6..8e703b7b8226 100644
--- a/app-laptop/acerhk/acerhk-0.5.35.ebuild
+++ b/app-laptop/acerhk/acerhk-0.5.35.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/acerhk-0.5.35.ebuild,v 1.4 2007/07/01 13:26:32 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/acerhk-0.5.35.ebuild,v 1.5 2008/01/30 23:08:09 jurek Exp $
inherit linux-mod
@@ -18,7 +18,14 @@ BUILD_TARGETS="all"
src_unpack()
{
unpack ${A}
- cd ${S}
+ cd "${S}"
+
+ if [[ ${KV_MINOR} -eq 6 ]] && [[ ${KV_PATCH} -ge 24 ]]; then
+ sed -i -e \
+ 's#^CFLAGS#EXTRA_CFLAGS#g' \
+ Makefile \
+ || die "sed failed"
+ fi
}
pkg_setup() {
@@ -28,7 +35,7 @@ pkg_setup() {
src_install() {
linux-mod_src_install
- dodoc README COPYING NEWS
+ dodoc README NEWS
docinto doc
dodoc doc/*
}