summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-09-13 11:47:26 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-09-13 11:47:26 +0000
commit740eddf64d6148379ad772562bffc46f50c2db9d (patch)
treea3fc8c0a23eae4a4651b052da7f114d8747a2648 /dev-util/sysprof
parentDisable test that use package installed in wrt #429668 by Diego Elio PettenÃ... (diff)
downloadgentoo-2-740eddf64d6148379ad772562bffc46f50c2db9d.tar.gz
gentoo-2-740eddf64d6148379ad772562bffc46f50c2db9d.tar.bz2
gentoo-2-740eddf64d6148379ad772562bffc46f50c2db9d.zip
Fix installation on systems without udev.pc, thanks to Samuli Suominen for noticing.
(Portage version: 2.2.0_alpha125/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/sysprof')
-rw-r--r--dev-util/sysprof/ChangeLog7
-rw-r--r--dev-util/sysprof/sysprof-1.1.8-r2.ebuild5
2 files changed, 9 insertions, 3 deletions
diff --git a/dev-util/sysprof/ChangeLog b/dev-util/sysprof/ChangeLog
index b6c1de4c3c49..77f1e5384d42 100644
--- a/dev-util/sysprof/ChangeLog
+++ b/dev-util/sysprof/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/sysprof
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/ChangeLog,v 1.21 2012/09/13 10:59:26 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/ChangeLog,v 1.22 2012/09/13 11:47:26 tetromino Exp $
+
+ 13 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ sysprof-1.1.8-r2.ebuild:
+ Fix installation on systems without udev.pc, thanks to Samuli Suominen for
+ noticing.
*sysprof-1.1.8-r2 (13 Sep 2012)
diff --git a/dev-util/sysprof/sysprof-1.1.8-r2.ebuild b/dev-util/sysprof/sysprof-1.1.8-r2.ebuild
index b0afbf6d8c0e..c3a2f61ae043 100644
--- a/dev-util/sysprof/sysprof-1.1.8-r2.ebuild
+++ b/dev-util/sysprof/sysprof-1.1.8-r2.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/dev-util/sysprof/sysprof-1.1.8-r2.ebuild,v 1.1 2012/09/13 10:59:26 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.1.8-r2.ebuild,v 1.2 2012/09/13 11:47:26 tetromino Exp $
EAPI="4"
@@ -31,7 +31,8 @@ pkg_pretend() {
src_install() {
# Install udev rules in the proper place
- local udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
+ local udevdir=/lib/udev
+ has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
export MAKEOPTS="${MAKEOPTS} udevdir=${udevdir}/rules.d"
default