summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-01-09 22:37:46 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-01-09 22:37:46 +0000
commitdb83fc4f72b2a0194888bd2c52756aa2fd4d02ef (patch)
tree397fa30f0d9dee35f6c5c78a63e8f767bac8c249
parentCleanup old ebuilds for progress on bug #283320 for linux-info changes. (diff)
downloadgentoo-2-db83fc4f72b2a0194888bd2c52756aa2fd4d02ef.tar.gz
gentoo-2-db83fc4f72b2a0194888bd2c52756aa2fd4d02ef.tar.bz2
gentoo-2-db83fc4f72b2a0194888bd2c52756aa2fd4d02ef.zip
Bug #283320: linux-info changes require that linux_config_exists is called before linux_chkconfig*
(Portage version: 2.2_rc61/cvs/Linux x86_64)
-rw-r--r--dev-util/oprofile/ChangeLog8
-rw-r--r--dev-util/oprofile/oprofile-0.9.6.ebuild6
2 files changed, 9 insertions, 5 deletions
diff --git a/dev-util/oprofile/ChangeLog b/dev-util/oprofile/ChangeLog
index 2a91fb0e350c..62fe40db871c 100644
--- a/dev-util/oprofile/ChangeLog
+++ b/dev-util/oprofile/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/oprofile
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.60 2009/12/22 14:57:18 pva Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.61 2010/01/09 22:37:46 robbat2 Exp $
+
+ 09 Jan 2010; Robin H. Johnson <robbat2@gentoo.org> oprofile-0.9.6.ebuild:
+ Bug #283320: linux-info changes require that linux_config_exists is called
+ before linux_chkconfig*
*oprofile-0.9.6 (22 Dec 2009)
diff --git a/dev-util/oprofile/oprofile-0.9.6.ebuild b/dev-util/oprofile/oprofile-0.9.6.ebuild
index 7aac84d197fe..c1d58acf116c 100644
--- a/dev-util/oprofile/oprofile-0.9.6.ebuild
+++ b/dev-util/oprofile/oprofile-0.9.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.6.ebuild,v 1.1 2009/12/22 14:57:18 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.6.ebuild,v 1.2 2010/01/09 22:37:46 robbat2 Exp $
EAPI=1
@@ -21,7 +21,7 @@ DEPEND=">=dev-libs/popt-1.7-r1
pkg_setup() {
linux-info_pkg_setup
- if ! linux_chkconfig_present OPROFILE; then
+ if ! linux_config_exists || ! linux_chkconfig_present OPROFILE; then
elog "In order for oprofile to work, you need to configure your kernel"
elog "with CONFIG_OPROFILE set to 'm' or 'y'."
fi