Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 588152

Summary: dev-util/perf: doc USE flag warning would be better in pkg_pretend than pkg_postinst
Product: Gentoo Linux Reporter: . <dev.rindeal+gentoo>
Component: Current packagesAssignee: Naohiro Aota <naota>
Status: RESOLVED FIXED    
Severity: normal CC: dlan, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description . 2016-07-06 11:04:47 UTC
This is the piece:


```
	if ! use doc ; then
		elog "Without the doc USE flag you won't get any documentation nor man pages."
		elog "And without man pages, you won't get any --help output for perf and its"
		elog "sub-tools."
	fi
```
Comment 1 Larry the Git Cow gentoo-dev 2020-11-19 15:36:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2716da2764b18e49eecbf61c4864a5cc0da8d72

commit c2716da2764b18e49eecbf61c4864a5cc0da8d72
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2020-11-19 15:20:33 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2020-11-19 15:36:00 +0000

    dev-util/perf: version bump to 5.9.9
    
    Add support for libpfm
    Fix perf version command
    Fix installation of tips.txt
    Move warning about USE=-doc to pkg_pretend
    Move build dependencies to BDEPEND
    
    Closes: https://bugs.gentoo.org/588152
    Closes: https://bugs.gentoo.org/618790
    Closes: https://bugs.gentoo.org/731106
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 dev-util/perf/Manifest          |   2 +
 dev-util/perf/metadata.xml      |   1 +
 dev-util/perf/perf-5.9.9.ebuild | 246 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 249 insertions(+)