Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295115 - app-text/sgml-common: documentation installed outside /usr/share/doc/${PF}
Summary: app-text/sgml-common: 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: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-29 21:52 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2012-03-27 22:35 UTC (History)
0 users

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


Attachments
ebuild patch (sgml-common.patch,874 bytes, patch)
2012-03-24 04:40 UTC, Ian Delaney (RETIRED)
Details | Diff
alternate ebuild patch (sgml-common.patch,770 bytes, patch)
2012-03-24 04:44 UTC, Ian Delaney (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-11-29 21:52:16 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 Ian Delaney (RETIRED) gentoo-dev 2012-03-24 04:40:43 UTC
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
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-03-24 04:44:37 UTC
Created attachment 306487 [details, diff]
alternate ebuild patch

deletes ${P}