Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298191 - sys-apps/preload: documentation installed outside /usr/share/doc/${PF}
Summary: sys-apps/preload: documentation installed outside /usr/share/doc/${PF}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-24 11:13 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-03-29 16:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Added --docdir=/usr/share/doc/${PF} to econf call. (preload-0.6.4-r1.ebuild.patch,300 bytes, patch)
2009-12-24 18:16 UTC, Gef
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-24 11:13:44 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 --htmldir to decide where to put the documentation. Older versions might require you override docdir/htmldir or other custom variables during make install.

For non-autotooled build systems, good luck, since I cannot tell you how to achieve the proper results, the same holds true with totally broken buildsystems even when based on autotools.

Thanks,
Diego
Comment 1 Gef 2009-12-24 18:16:20 UTC
Created attachment 214054 [details, diff]
Added --docdir=/usr/share/doc/${PF} to econf call.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-03-28 04:08:44 UTC
I no longer use this application and have dropped maintainer-ship.
Comment 3 Pacho Ramos gentoo-dev 2010-03-29 15:55:22 UTC
Comment on attachment 214054 [details, diff]
Added --docdir=/usr/share/doc/${PF} to econf call.

It doesn't work in this case :-(
Comment 4 Pacho Ramos gentoo-dev 2010-03-29 16:04:04 UTC
+  29 Mar 2010; Pacho Ramos <pacho@gentoo.org> files/00-patch-configure.diff:
+  00-patch-configure.diff modified to install docs under /usr/share/doc/,
+  fixing bug 298191. Thanks to Diego for reporting.