Bug 179586 - sys-devel/distcc installs documentation in /usr/share/doc/${PN}
Bug#: 179586 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: betelgeuse@gentoo.org Reported By: flameeyes@gentoo.org
Component: Ebuilds
URL: 
Summary: sys-devel/distcc installs documentation in /usr/share/doc/${PN}
Keywords:  
Status Whiteboard: 
Opened: 2007-05-23 21:16 0000
Description:   Opened: 2007-05-23 21:16 0000
The usual location for documentation is /usr/share/doc/${PF} instead, and
almost every other package install there.

The attached patch fixes this by using dodoc to install survey.txt and passing
--with-docdir at econf run.

HTH,
Diego

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2007-05-23 21:16:53 0000 -------
Created an attachment (id=120133) [details]
Ebuild patch

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2008-04-22 10:56:42 0000 -------
Well, after almost an year, I fixed this myself, sorry for overstepping.

------- Comment #3 From Leonardo Valeri Manera 2008-04-24 19:59:55 0000 -------
econf: updating
/var/tmp/paludis/sys-devel-distcc-2.18.3-r12/work/distcc-2.18.3/config.guess
with /usr/share/gnuconfig/config.guess
econf: updating
/var/tmp/paludis/sys-devel-distcc-2.18.3-r12/work/distcc-2.18.3/config.sub with
/usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --without-included-popt
--docdir=/usr/share/doc/distcc-2.18.3-r12 --disable-avahi --without-gnome
--with-gtk --build=i686-pc-linux-gnu
configure: error: unrecognized option:
--docdir=/usr/share/doc/distcc-2.18.3-r12
Try `./configure --help' for more information.

!!! ERROR in sys-devel/distcc-2.18.3-r12:
!!! In econf at line 1879
!!! econf failed