Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 140793 Details for
Bug 195891
app-laptop/acpi4asus should not compile a kernel module on 2.6.23 kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
acpi4asus-0.41.ebuild.diff
acpi4asus-0.41.ebuild.diff (text/plain), 2.04 KB, created by
Jakub Moc (RETIRED)
on 2008-01-12 11:57:19 UTC
(
hide
)
Description:
acpi4asus-0.41.ebuild.diff
Filename:
MIME Type:
Creator:
Jakub Moc (RETIRED)
Created:
2008-01-12 11:57:19 UTC
Size:
2.04 KB
patch
obsolete
>--- acpi4asus-0.41.ebuild 2007-07-15 09:35:27.000000000 +0200 >+++ acpi4asus-0.41.ebuild 2008-01-12 12:55:50.000000000 +0100 >@@ -11,52 +11,64 @@ > SLOT="0" > KEYWORDS="~x86 ~amd64" > IUSE="" >-MODULE_NAMES="asus-laptop(acpi:${S}/driver)" >-BUILD_TARGETS=" " >+ > RDEPEND="sys-power/acpid" >-CONFIG_CHECK="LEDS_CLASS" > > pkg_setup() { >- linux-mod_pkg_setup >- BUILD_PARAMS="KDIR=${KV_DIR}" >+ if kernel_is lt 2 6 23 ; then >+ CONFIG_CHECK="LEDS_CLASS" >+ MODULE_NAMES="asus-laptop(acpi:${S}/driver)" >+ BUILD_TARGETS=" " >+ linux-mod_pkg_setup >+ BUILD_PARAMS="KDIR=${KV_DIR}" >+ else >+ CONFIG_CHECK="~ASUS_LAPTOP" >+ ERROR_ASUS_LAPTOP="Enable CONFIG_ASUS_LAPTOP under Device drivers - Misc Devices - Asus Laptop Extras (EXPERIMENTAL)." >+ einfo "Required kernel module is already included with 2.6.23 kernels, we will not compile it." >+ linux-mod_pkg_setup >+ fi > } > > src_unpack() { > unpack ${A} >- >- if kernel_is ge 2 6 21 ; then >- epatch ${FILESDIR}/cvs.patch >+ if kernel_is ge 2 6 21 && kernel_is lt 2 6 23 ; then >+ epatch "${FILESDIR}"/cvs.patch > fi > } > > src_compile() { >- linux-mod_src_compile >+ kernel_is lt 2 6 23 && linux-mod_src_compile > emake -C asus_acpid > } > > src_install() { >- linux-mod_src_install >+ kernel_is lt 2 6 23 && linux-mod_src_install > > dobin asus_acpid/asus_acpid > doman asus_acpid/asus_acpid.8 > > dodoc README Changelog > >- dodir /usr/share/${PN}/samples >- >- dodir /usr/share/${PN}/samples/actions > insinto /usr/share/${PN}/samples/actions > doins samples/actions/*.sh > >- dodir /usr/share/${PN}/samples/events > insinto /usr/share/${PN}/samples/events > doins samples/events/* > } > >+pkg_preinst() { >+ kernel_is lt 2 6 23 && linux-mod_pkg_preinst >+} >+ >+ > pkg_postinst() { >- linux-mod_pkg_postinst >- einfo >- einfo "Don't forget to create your ~/.asus_acpi," >- einfo "see /usr/share/doc/${PF}/README.gz for details" >- einfo >+ kernel_is lt 2 6 23 && linux-mod_pkg_postinst >+ elog >+ elog "Don't forget to create your ~/.asus_acpi," >+ elog "see README in /usr/share/doc/${PF} for details" >+ elog >+} >+ >+pkg_postrm() { >+ kernel_is lt 2 6 23 && linux-mod_pkg_postrm > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 195891
:
133473
|
138902
|
139036
|
140777
|
140789
| 140793 |
178123