summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-03-11 23:38:27 +0000
committerWilliam Hubbs <williamh@gentoo.org>2012-03-11 23:38:27 +0000
commit85a386fc0607625643c40ffdeb879953545648a3 (patch)
treec3f5b57e904180c38989735fce6e68622602a047 /sys-fs/udev
parentRemove old. (diff)
downloadgentoo-2-85a386fc0607625643c40ffdeb879953545648a3.tar.gz
gentoo-2-85a386fc0607625643c40ffdeb879953545648a3.tar.bz2
gentoo-2-85a386fc0607625643c40ffdeb879953545648a3.zip
move CONFIG_CHECK variable into pkg_setup, thanks to anarchy@gentoo.org.
(Portage version: 2.2.0_alpha90/cvs/Linux i686)
Diffstat (limited to 'sys-fs/udev')
-rw-r--r--sys-fs/udev/ChangeLog6
-rw-r--r--sys-fs/udev/udev-181.ebuild16
-rw-r--r--sys-fs/udev/udev-9999.ebuild12
3 files changed, 21 insertions, 13 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog
index 8c1ab785b4b9..b7493d6f2860 100644
--- a/sys-fs/udev/ChangeLog
+++ b/sys-fs/udev/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/udev
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.649 2012/03/11 01:44:14 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.650 2012/03/11 23:38:27 williamh Exp $
+
+ 11 Mar 2012; William Hubbs <williamh@gentoo.org> udev-181.ebuild,
+ udev-9999.ebuild:
+ move CONFIG_CHECK variable into pkg_setup, thanks to anarchy@gentoo.org.
11 Mar 2012; William Hubbs <williamh@gentoo.org> udev-181.ebuild,
udev-9999.ebuild:
diff --git a/sys-fs/udev/udev-181.ebuild b/sys-fs/udev/udev-181.ebuild
index da47d0cceeee..1e1de6de283d 100644
--- a/sys-fs/udev/udev-181.ebuild
+++ b/sys-fs/udev/udev-181.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-181.ebuild,v 1.3 2012/03/11 01:44:14 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-181.ebuild,v 1.4 2012/03/11 23:38:27 williamh Exp $
EAPI=4
@@ -70,11 +70,6 @@ RDEPEND="${COMMON_DEPEND}
!<sys-kernel/dracut-017-r1
!<sys-kernel/genkernel-3.4.25"
-# required kernel options
-CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~HOTPLUG ~INOTIFY_USER ~NET ~PROC_FS
- ~SIGNALFD ~SYSFS ~TMPFS_POSIX_ACL
- ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2"
-
udev_check_KV()
{
if kernel_is lt ${KV_min//./ }
@@ -86,6 +81,15 @@ udev_check_KV()
pkg_setup()
{
+ # required kernel options
+ CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~HOTPLUG ~INOTIFY_USER ~NET ~PROC_FS
+ ~SIGNALFD ~SYSFS
+ ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2"
+
+ if use acl; then
+ CONFIG_CHECK += " ~TMPFS_POSIX_ACL"
+ fi
+
linux-info_pkg_setup
# always print kernel version requirements
diff --git a/sys-fs/udev/udev-9999.ebuild b/sys-fs/udev/udev-9999.ebuild
index 7d9c8d7c2491..2e3e49c50a45 100644
--- a/sys-fs/udev/udev-9999.ebuild
+++ b/sys-fs/udev/udev-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.73 2012/03/11 01:44:14 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.74 2012/03/11 23:38:27 williamh Exp $
EAPI=4
@@ -68,11 +68,6 @@ RDEPEND="${COMMON_DEPEND}
!<sys-kernel/dracut-017-r1
!<sys-kernel/genkernel-3.4.25"
-# required kernel options
-CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~HOTPLUG ~INOTIFY_USER ~NET ~PROC_FS
- ~SIGNALFD ~SYSFS ~TMPFS_POSIX_ACL
- ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2"
-
udev_check_KV()
{
if kernel_is lt ${KV_min//./ }
@@ -84,6 +79,11 @@ udev_check_KV()
pkg_setup()
{
+ # required kernel options
+ CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~HOTPLUG ~INOTIFY_USER ~NET ~PROC_FS
+ ~SIGNALFD ~SYSFS
+ ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2"
+
linux-info_pkg_setup
# always print kernel version requirements