Summary: | sys-apps/pv - --remote requires CONFIG_SYSVIPC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Miller <ysottre> |
Component: | [OLD] Core system | Assignee: | Jeroen Roovers (RETIRED) <jer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ebuild with config check |
Description
Andrew Miller
2014-10-23 02:17:08 UTC
Created attachment 387250 [details]
ebuild with config check
Comment on attachment 387250 [details] ebuild with config check --- pv-1.5.7.ebuild +++ pv-1.5.7.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pv/pv-1.5.7.ebuild,v 1.2 2014/10/20 09:47:43 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pv/pv-1.5.7.ebuild,v 1.1 2014/08/27 08:44:26 jer Exp $ EAPI=5 -inherit toolchain-funcs +inherit linux-info toolchain-funcs DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe" HOMEPAGE="http://www.ivarch.com/programs/pv.shtml" @@ -11,7 +11,7 @@ LICENSE="Artistic-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris ~x86-solaris" IUSE="debug nls" PV_LINGUAS=( de fr pl pt ) @@ -19,6 +19,14 @@ DOCS=( README doc/NEWS doc/TODO ) +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="~SYSVIPC" + ERROR_SYSVIPC="You need CONFIG_SYSVIPC=y to use the --remote option." + linux-info_pkg_setup + fi +} + src_prepare() { sed -i configure -e 's|CFLAGS="-g -Wall"|:|g' || die # These should produce the same end result (working `pv`). Added in 1.6.0-r1. |