--- acpi4asus-0.40-r1.ebuild 2007-05-11 13:36:16.000000000 +0200 +++ acpi4asus-0.41.ebuild 2007-05-12 21:12:23.000000000 +0200 @@ -14,6 +14,7 @@ MODULE_NAMES="asus-laptop(acpi:${S}/driver)" BUILD_TARGETS=" " RDEPEND="sys-power/acpid" +CONFIG_CHECK="LEDS_CLASS" pkg_setup() { linux-mod_pkg_setup @@ -23,9 +24,8 @@ src_unpack() { unpack ${A} - if kernel_is ge 2 6 20 ; then - die "kernel 2.6.20 and later not yet supported in this release, feel - free to provide a patch to change that :)" + if kernel_is ge 2 6 21 ; then + epatch ${FILESDIR}/cvs.patch fi }