diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2015-01-27 03:13:47 +0000 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2015-01-27 03:13:47 +0000 |
commit | ef7b3dd57e7be1e26cc5c918be12895c6a8886de (patch) | |
tree | b136d8adeceb5b13f6950c592dd4e9594bd4afeb /dev-util | |
parent | Initial import, ebuild by jbergstroem (diff) | |
download | gentoo-2-ef7b3dd57e7be1e26cc5c918be12895c6a8886de.tar.gz gentoo-2-ef7b3dd57e7be1e26cc5c918be12895c6a8886de.tar.bz2 gentoo-2-ef7b3dd57e7be1e26cc5c918be12895c6a8886de.zip |
Add linux-info check for TRACING, FTRACE and BLK_DEV_IO_TRACE.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0xE3F69979BB4B8928DA78E3D17CBF44EF)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/trace-cmd/ChangeLog | 5 | ||||
-rw-r--r-- | dev-util/trace-cmd/trace-cmd-2.5.1.ebuild | 16 |
2 files changed, 17 insertions, 4 deletions
diff --git a/dev-util/trace-cmd/ChangeLog b/dev-util/trace-cmd/ChangeLog index 246597a61b8b..14734b9498bf 100644 --- a/dev-util/trace-cmd/ChangeLog +++ b/dev-util/trace-cmd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-util/trace-cmd # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/trace-cmd/ChangeLog,v 1.1 2015/01/27 02:56:08 chutzpah Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/trace-cmd/ChangeLog,v 1.2 2015/01/27 03:13:47 chutzpah Exp $ + + 27 Jan 2015; Patrick McLean <chutzpah@gentoo.org> trace-cmd-2.5.1.ebuild: + Add linux-info check for TRACING, FTRACE and BLK_DEV_IO_TRACE. *trace-cmd-2.5.1 (27 Jan 2015) diff --git a/dev-util/trace-cmd/trace-cmd-2.5.1.ebuild b/dev-util/trace-cmd/trace-cmd-2.5.1.ebuild index cb6a1bff8cea..2f93691a832d 100644 --- a/dev-util/trace-cmd/trace-cmd-2.5.1.ebuild +++ b/dev-util/trace-cmd/trace-cmd-2.5.1.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/trace-cmd/trace-cmd-2.5.1.ebuild,v 1.1 2015/01/27 02:56:08 chutzpah Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/trace-cmd/trace-cmd-2.5.1.ebuild,v 1.2 2015/01/27 03:13:47 chutzpah Exp $ EAPI=5 PYTHON_COMPAT=(python2_7) -inherit toolchain-funcs python-single-r1 +inherit eutils toolchain-funcs linux-info python-single-r1 DESCRIPTION="User-space front-end for Ftrace" HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git" @@ -31,13 +31,23 @@ DEPEND="${RDEPEND} gtk? ( virtual/pkgconfig ) doc? ( app-text/asciidoc )" +CONFIG_CHECK=" + ~TRACING + ~FTRACE + ~BLK_DEV_IO_TRACE" + +pkg_setup() { + linux-info_pkg_setup + python-single-r1_pkg_setup +} + src_prepare() { epatch "${FILESDIR}"/${P}-makefile.patch epatch_user } src_configure() { - MAKEOPTS+=" V=1 prefix=/usr libdir=$(get_libdir) CC=$(tc-getCC) AR=$(tc-getAR)" + MAKEOPTS+=" prefix=/usr libdir=$(get_libdir) CC=$(tc-getCC) AR=$(tc-getAR)" if use python; then MAKEOPTS+=" PYTHON_VERS=${EPYTHON//python/python-}" |