Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314497 - dev-lang/squirrel: documentation installed outside /usr/share/doc/${PF}
Summary: dev-lang/squirrel: 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: Nathan Phillip Brink (binki) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-10 11:29 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-04-13 17:50 UTC (History)
1 user (show)

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


Attachments
squirrel-2.2.4-r1.ebuild (squirrel-2.2.4-r1.ebuild,1.09 KB, text/plain)
2010-04-10 22:40 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details
files/squirrel-2.2.4-autotools.patch (squirrel-2.2.4-autotools.patch,7.54 KB, text/plain)
2010-04-10 22:41 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-10 11:29:11 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 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-04-10 22:40:46 UTC
Created attachment 227319 [details]
squirrel-2.2.4-r1.ebuild

Suggested echangelog "Fixes bug 314497 by using the --docdir ./configure option. Support EAPI=3 (prefix reviewd by ABCD). Actually support advertised useflags by expanding autotools patch. Enable removal of static archive and libtool archives on USE=-static-libs."

The autotools fix is in the autotools patch I'll attach next.
Comment 2 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-04-10 22:41:24 UTC
Created attachment 227321 [details]
files/squirrel-2.2.4-autotools.patch

Add --disable-example and --disable-doc options
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-04-13 17:50:15 UTC
fixed

Thank you Nathan for your patches