summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-03-10 18:34:55 +0000
committerAnthony G. Basile <blueness@gentoo.org>2013-03-10 18:34:55 +0000
commitf5f619b59e781774490c9e8486ff7bfb635a2901 (patch)
treee331c15774cd4511b3a3dd1c97bfc30f11348aa4 /sys-fs/eudev
parentBackport patch from upstream fixing issue where suspend options are not offer... (diff)
downloadgentoo-2-f5f619b59e781774490c9e8486ff7bfb635a2901.tar.gz
gentoo-2-f5f619b59e781774490c9e8486ff7bfb635a2901.tar.bz2
gentoo-2-f5f619b59e781774490c9e8486ff7bfb635a2901.zip
Depend on gperf only if USE=keymap, bug #452760
(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'sys-fs/eudev')
-rw-r--r--sys-fs/eudev/ChangeLog5
-rw-r--r--sys-fs/eudev/eudev-9999.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/sys-fs/eudev/ChangeLog b/sys-fs/eudev/ChangeLog
index 23f09617f7e2..e829f493ea99 100644
--- a/sys-fs/eudev/ChangeLog
+++ b/sys-fs/eudev/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/eudev
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/ChangeLog,v 1.30 2013/02/20 13:37:30 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/ChangeLog,v 1.31 2013/03/10 18:34:55 blueness Exp $
+
+ 10 Mar 2013; Anthony G. Basile <blueness@gentoo.org> eudev-9999.ebuild:
+ Depend on gperf only if USE=keymap, bug #452760
20 Feb 2013; Anthony G. Basile <blueness@gentoo.org> files/40-gentoo.rules:
Sync 40-gentoo.rules with sys-fs/udev, bug #457868
diff --git a/sys-fs/eudev/eudev-9999.ebuild b/sys-fs/eudev/eudev-9999.ebuild
index 683b52d09d46..5fe67ef72a90 100644
--- a/sys-fs/eudev/eudev-9999.ebuild
+++ b/sys-fs/eudev/eudev-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/eudev-9999.ebuild,v 1.21 2013/02/09 07:58:36 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/eudev-9999.ebuild,v 1.22 2013/03/10 18:34:55 blueness Exp $
EAPI=5
@@ -34,7 +34,7 @@ COMMON_DEPEND="gudev? ( dev-libs/glib:2 )
!<sys-libs/glibc-2.11"
DEPEND="${COMMON_DEPEND}
- dev-util/gperf
+ keymap? ( dev-util/gperf )
>=dev-util/intltool-0.40.0
virtual/pkgconfig
virtual/os-headers
@@ -146,6 +146,10 @@ src_configure()
{
local econf_args
+ # Only keymap uses gperf, but configure checks
+ # for it unconditionally, bug #452760
+ use keymap || export ac_cv_path_GPERF=true
+
econf_args=(
ac_cv_search_cap_init=
ac_cv_header_sys_capability_h=yes