Bug 4241 - texinfo ebuild doesn't install info pages for texinfo
Bug#: 4241 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: bug-wranglers@gentoo.org Reported By: kryptolus@gmail.com
Component: Ebuilds
URL: 
Summary: texinfo ebuild doesn't install info pages for texinfo
Keywords:  
Status Whiteboard: 
Opened: 2002-06-27 10:53 0000
Description:   Opened: 2002-06-27 10:53 0000
The ebuild for texinfo does not actually install the info pages for itself.
It ends up installing the info pages to the temporary image directory.

I'm not familiar with how info pages are installed in ebuilds, so I can't help
on this one.

------- Comment #1 From Vadim Berezniker 2002-06-27 11:05:35 0000 -------
Found out what happens.
During install, the package gets installed into
$TMP/portage/texinfo-N/image/$TMP/portage/texinfo-N/image/usr/share 
(The path is doubled)

So when the ebuild tries to rename the info files, it fails because they're not
where it expects. I'll investigate further.

------- Comment #2 From Vadim Berezniker 2002-06-27 11:15:12 0000 -------
This fixed it for me. Don't know if it's the Right Thing(tm).
The makefile appears to append infodir to DESTDIR.

40c40
< 	make DESTDIR=${D} infodir=${D}/usr/share/info install || die
---
> 	make DESTDIR=${D} infodir=/usr/share/info install || die

------- Comment #3 From Seemant Kulleen (RETIRED) 2002-06-27 20:34:06 0000 -------
Thanks for the catch, AND the fix, Vadim :)