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

Bug 421629

Summary: sci-libs/neartree documentation installed outside /usr/share/doc/${PF}
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: minor    
Priority: Highest    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://tinderboxlogs.s3.amazonaws.com/tbamd64.excelsior.flameeyes.eu/sci-libs%3Aneartree-3.1.1-r2%3A20120617-181953.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2012-06-17 18:25:15 UTC
You're getting this bug because the package in summary installs its documentation (or at least part of it) outside the usual /usr/share/doc/${PF} directory.

First, please keep in mind that this bug might not be noticeable for -r0 ebuilds, but it might be for -r1 and later, since if the ebuild has same name and version of the package, for -r0 it might correspond properly.

To fix this, if the package uses autotools, recent version (autoconf 2.61+) have two ./configure switches: --docdir and%2
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2012-06-17 18:27:52 UTC
(In reply to comment #0)
> To fix this, if the package uses autotools, recent version (autoconf 2.61+)
> have two ./configure switches: --docdir and%2

What is missing here?
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-06-17 18:29:20 UTC
The new delicious ate my bug templates :(
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2012-06-17 18:31:37 UTC
I just saw it on twitter. Happy fixing :) I will take care of this here.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2012-06-17 19:24:50 UTC
+*neartree-3.1.1-r3 (17 Jun 2012)
+
+  17 Jun 2012; Justin Lecher <jlec@gentoo.org> -neartree-3.1.1-r2.ebuild,
+  +neartree-3.1.1-r3.ebuild, files/CMakeLists.txt:
+  Install docs into $PF, #421629
+