Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258292 - dev-scheme/gambit: documentation installed outside /usr/share/doc/${PF}
Summary: dev-scheme/gambit: 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: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-09 04:22 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-03-17 08:38 UTC (History)
1 user (show)

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


Attachments
--docdir redefined (gambit-4.4.1.ebuild.diff,424 bytes, patch)
2009-03-10 20:16 UTC, Vadim Kuznetsov (RETIRED)
Details | Diff
--docdir redefined (gambit-4.4.1.ebuild.diff,419 bytes, patch)
2009-03-10 20:25 UTC, Vadim Kuznetsov (RETIRED)
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-02-09 04:22:09 UTC
yamato ~ # qlist gambit | grep doc
/usr/doc/gambit-c.html
/usr/doc/gambit-c.txt
/usr/doc/gambit-c.pdf

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 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-03-10 20:16:02 UTC
Created attachment 184594 [details, diff]
--docdir redefined
Comment 2 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-03-10 20:25:00 UTC
Created attachment 184600 [details, diff]
--docdir redefined

small correction
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2009-03-17 08:38:34 UTC
This is now fixed in gambit-4.4.2, thanks Vadim, for your patch. I used it with PF instead of P.