Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 460428 - dev-lang/ekopath should add /opt/ekopath/docs/man to MANPATH
Summary: dev-lang/ekopath should add /opt/ekopath/docs/man to MANPATH
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Kacper Kowalik (Xarthisius) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-05 17:29 UTC by nanikata15
Modified: 2013-03-24 21:06 UTC (History)
1 user (show)

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


Attachments
adds MANPATH to the env file if USE="doc" (ekopath-manpath.patch,342 bytes, text/plain)
2013-03-05 17:29 UTC, nanikata15
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nanikata15 2013-03-05 17:29:18 UTC
Created attachment 341026 [details]
adds MANPATH to the env file if USE="doc"

When emerging ekopath with USE="doc", it installs the man pages in "/opt/ekopath/docs/man". Since this is not a standard directory, the man program cannot detect these pages unless the user re-sets the MANPATH himself.

The solution is to either move the man pages to one of the standard directories or to add "/opt/ekopath/docs/man" to the MANPATH environmental variable. The latter solution is quite trivial, as shown in the patch attached.

I've only tested ekopath-5.0.0_pre20130113 fully, but 4.0.12.1_pre20121102 seem identical.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-06 17:17:00 UTC
USE=doc shouldn't affect whether man pages are installed.
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-03-24 21:06:19 UTC
+  24 Mar 2013; Kacper Kowalik <xarthisius@gentoo.org>
+  ekopath-4.0.12.1_pre20121102.ebuild, ekopath-5.0.0_pre20130113.ebuild:
+  Install docs unconditionally, add proper dir to MANPATH. Thanks to
+  nanikata@gmail.com for the patch. Fixes bug 460428