1 |
commit: d1e3827c54e66adcf78e55286934d1a7d9d58f02 |
2 |
Author: Matt Turner <mattst88 <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jan 1 21:04:00 2014 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 1 21:04:00 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=d1e3827c |
7 |
|
8 |
x11-drivers/xf86-input-evdev: Check for INPUT_EVDEV. |
9 |
|
10 |
--- |
11 |
x11-drivers/xf86-input-evdev/xf86-input-evdev-9999.ebuild | 11 +++++++++-- |
12 |
1 file changed, 9 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/x11-drivers/xf86-input-evdev/xf86-input-evdev-9999.ebuild b/x11-drivers/xf86-input-evdev/xf86-input-evdev-9999.ebuild |
15 |
index 338e670..ff7a5fe 100644 |
16 |
--- a/x11-drivers/xf86-input-evdev/xf86-input-evdev-9999.ebuild |
17 |
+++ b/x11-drivers/xf86-input-evdev/xf86-input-evdev-9999.ebuild |
18 |
@@ -1,9 +1,9 @@ |
19 |
-# Copyright 1999-2013 Gentoo Foundation |
20 |
+# Copyright 1999-2014 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
# $Header: $ |
23 |
|
24 |
EAPI=5 |
25 |
-inherit xorg-2 |
26 |
+inherit linux-info xorg-2 |
27 |
|
28 |
DESCRIPTION="Generic Linux input driver" |
29 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" |
30 |
@@ -15,3 +15,10 @@ RDEPEND=">=x11-base/xorg-server-1.12[udev] |
31 |
DEPEND="${RDEPEND} |
32 |
>=x11-proto/inputproto-2.1.99.3 |
33 |
>=sys-kernel/linux-headers-2.6" |
34 |
+ |
35 |
+pkg_pretend() { |
36 |
+ if use kernel_linux ; then |
37 |
+ CONFIG_CHECK="INPUT_EVDEV" |
38 |
+ fi |
39 |
+ check_extra_config |
40 |
+} |