| Summary: | app-text/sgml-common: documentation installed outside /usr/share/doc/${PF} | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
| Component: | New packages | Assignee: | Gentoo SGML project <sgml> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
ebuild patch
alternate ebuild patch |
||
Created attachment 306485 [details, diff]
ebuild patch
archtester app-text # ls /mnt/gen2/TmpDir/portage/app-text/sgml-common-0.6.3-r5/image/usr/share/doc/
sgml-common-0.6.3
archtester app-text # ls /mnt/gen2/TmpDir/portage/app-text/sgml-common-0.6.3-r5/image/usr/share/doc/sgml-common-0.6.3/
html NEWS.bz2 README.bz2
Created attachment 306487 [details, diff]
alternate ebuild patch
deletes ${P}
|
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