Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581570 - dev-util/radare2-0.10.2 installs docs into /usr/share/doc/${PN} and /usr/share/doc/${PF}
Summary: dev-util/radare2-0.10.2 installs docs into /usr/share/doc/${PN} and /usr/shar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Sergei Trofimovich (RETIRED)
URL: https://github.com/radare/radare2/com...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-29 16:22 UTC by Alexander Miller
Modified: 2017-04-18 20:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Miller 2016-04-29 16:22:30 UTC
All docs should go into /usr/share/doc/${PF}. But here I have:
| $ls /usr/share/doc/radare2*
| /usr/share/doc/radare2:
| all68k.r2.xz
| [51 files omitted]
| yara.md.xz
| 
| /usr/share/doc/radare2-0.10.2:
| ChangeLog.xz
| README.md.xz

i.e, the docs installed by make install end up in .../${PN} instead of .../${PF}. This needs to be fixed in the Makefile. In src_prepare, the
following should do the trick:
  sed -i -e "/{DATADIR}\\/doc/ s:doc/${PN}:doc/${PF}:" Makefile
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2016-04-30 19:00:58 UTC
Good catch! I think the proper way to fix is is to implement ./configure --docdir= upstreaam.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2017-04-18 20:20:57 UTC
Someone fixed it before i did anything: https://github.com/radare/radare2/commit/0187ac8281cffdf6316b95a9dc24f33c8775c0f7

Pushed with radate-1.4.0 as:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62bca702af9d410ae3e5852b8b877378acf2ed67

Thanks for the report!