/[gentoo-x86]/sys-fs/udev/udev-164-r2.ebuild
Gentoo

Diff of /sys-fs/udev/udev-164-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/Attic/udev-164-r2.ebuild,v 1.6 2011/06/05 18:24:09 jer Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/Attic/udev-164-r2.ebuild,v 1.7 2011/06/05 21:09:22 robbat2 Exp $
4 4
5EAPI="1" 5EAPI="1"
6 6
7inherit eutils flag-o-matic multilib toolchain-funcs linux-info 7inherit eutils flag-o-matic multilib toolchain-funcs linux-info
8 8
65 65
66# required kernel options 66# required kernel options
67CONFIG_CHECK="~INOTIFY_USER ~SIGNALFD ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2 67CONFIG_CHECK="~INOTIFY_USER ~SIGNALFD ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2
68 ~!IDE" 68 ~!IDE"
69 69
70# Return values:
71# 2 - reliable
72# 1 - unreliable
73# 0 - too old
70udev_check_KV() { 74udev_check_KV() {
71 local ok=0 75 local ok=0
72 if [[ ${KV_MAJOR} == 2 && ${KV_MINOR} == 6 ]] 76 if [[ ${KV_MAJOR} == 2 && ${KV_MINOR} == 6 ]] || [[ ${KV_MAJOR} == 3 ]]
73 then 77 then
74 if kernel_is -ge 2 6 ${KV_PATCH_reliable} ; then 78 if kernel_is -ge 2 6 ${KV_PATCH_reliable} ; then
75 ok=2 79 ok=2
76 elif kernel_is -ge 2 6 ${KV_PATCH_min} ; then 80 elif kernel_is -ge 2 6 ${KV_PATCH_min} ; then
77 ok=1 81 ok=1

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20