diff options
author | Jurek Bartuszek <jurek@gentoo.org> | 2008-01-30 23:08:09 +0000 |
---|---|---|
committer | Jurek Bartuszek <jurek@gentoo.org> | 2008-01-30 23:08:09 +0000 |
commit | 084eea54f4479b7c4819f35529f70083902b9ed4 (patch) | |
tree | bf8818dcd3d6b349750d842e37070cb8aec49c29 /app-laptop/acerhk/acerhk-0.5.35.ebuild | |
parent | initial portage proper release - from the bangert overlay - credits for the o... (diff) | |
download | gentoo-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/acerhk-0.5.35.ebuild')
-rw-r--r-- | app-laptop/acerhk/acerhk-0.5.35.ebuild | 15 |
1 files changed, 11 insertions, 4 deletions
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/* } |