diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/oprofile/ChangeLog | 6 | ||||
-rw-r--r-- | dev-util/oprofile/oprofile-0.9.1-r1.ebuild | 6 | ||||
-rw-r--r-- | dev-util/oprofile/oprofile-0.9.2.ebuild | 6 |
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:" |