summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2007-04-16 15:15:00 +0000
committerMichael Januszewski <spock@gentoo.org>2007-04-16 15:15:00 +0000
commit28643d6290e69060d91cd30fa40796a2f31738a7 (patch)
treea9ad2da68e8d36df0eb2ea56a0e94337fa23cb79 /dev-util/oprofile
parentBump to 1.8.1.3, many thanks to Gergan Penkov <gergan at gmail dot com> for t... (diff)
downloadgentoo-2-28643d6290e69060d91cd30fa40796a2f31738a7.tar.gz
gentoo-2-28643d6290e69060d91cd30fa40796a2f31738a7.tar.bz2
gentoo-2-28643d6290e69060d91cd30fa40796a2f31738a7.zip
Use update-modules (bug #174757).
(Portage version: 2.1.2.3)
Diffstat (limited to 'dev-util/oprofile')
-rw-r--r--dev-util/oprofile/ChangeLog6
-rw-r--r--dev-util/oprofile/oprofile-0.9.1-r1.ebuild6
-rw-r--r--dev-util/oprofile/oprofile-0.9.2.ebuild6
3 files changed, 13 insertions, 5 deletions
diff --git a/dev-util/oprofile/ChangeLog b/dev-util/oprofile/ChangeLog
index 20a8c99029f0..c5277127e8d1 100644
--- a/dev-util/oprofile/ChangeLog
+++ b/dev-util/oprofile/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/oprofile
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.39 2007/04/16 13:40:02 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.40 2007/04/16 15:15:00 spock Exp $
+
+ 16 Apr 2007; Michał Januszewski <spock@gentoo.org>
+ oprofile-0.9.1-r1.ebuild, oprofile-0.9.2.ebuild:
+ Use update-modules (bug #174757).
16 Apr 2007; Ferris McCormick <fmccor@gentoo.org> oprofile-0.9.2.ebuild:
Add ~sparc keyword at user's request (Arkadi Shishlov) --- Bug #174789 ---
diff --git a/dev-util/oprofile/oprofile-0.9.1-r1.ebuild b/dev-util/oprofile/oprofile-0.9.1-r1.ebuild
index e68398cbcd1d..8dceb820f407 100644
--- a/dev-util/oprofile/oprofile-0.9.1-r1.ebuild
+++ b/dev-util/oprofile/oprofile-0.9.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.1-r1.ebuild,v 1.11 2007/03/05 04:04:53 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.1-r1.ebuild,v 1.12 2007/04/16 15:15:00 spock Exp $
inherit eutils qt3 linux-info
@@ -69,7 +69,9 @@ src_install() {
}
pkg_postinst() {
- [[ ${ROOT} == / ]] && /sbin/modules-update
+ if [[ ${ROOT} == / ]] ; then
+ [[ -x /sbin/update-modules ]] && /sbin/update-modules || /sbin/modules-update
+ fi
echo
elog "Now load the oprofile module by running:"
diff --git a/dev-util/oprofile/oprofile-0.9.2.ebuild b/dev-util/oprofile/oprofile-0.9.2.ebuild
index e05f265d36ef..05bc4cad6a6c 100644
--- a/dev-util/oprofile/oprofile-0.9.2.ebuild
+++ b/dev-util/oprofile/oprofile-0.9.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.2.ebuild,v 1.5 2007/04/16 13:40:02 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.2.ebuild,v 1.6 2007/04/16 15:15:00 spock Exp $
inherit eutils qt3 linux-info
@@ -66,7 +66,9 @@ src_install() {
}
pkg_postinst() {
- [[ ${ROOT} == / ]] && /sbin/modules-update
+ if [[ ${ROOT} == / ]] ; then
+ [[ -x /sbin/update-modules ]] && /sbin/update-modules || /sbin/modules-update
+ fi
echo
elog "Now load the oprofile module by running:"