is: /usr/share/qt4/doc/... should be: /usr/share/doc/${PF}/...
fixed.
Nope, docs go into $PF := $PN-$PVR, not $PV :) I would have done it myself btw., but I wasn't sure, if you'd prefer to symlink and add a obligatory rm -rf in pkg_postrm().
Okay, changed to PF. Not worried about a symlink right now, but it might be a nice addition.
Just that portage doesn't clean out directories with symlinks, so something like pkg_postrm(){ [ -n "${PF}" ] && rm -rf ${ROOT}/usr/share/doc/${PF} } would be needed.
I'm changing the Qt4 ebuild back, because I want the DATADIR stuff to go into /usr/share/qt4, but the DOCS to go into this directory. I broke it by making datadir go into the above...
What I mean is that I changed DATADIR instead of DOCDIR. The new format is: DATADIR=/usr/share/qt4 DOCSDIR=/usr/share/doc/qt-4.x.x Because the mkspecs files need to be a place (DATADIR) that doesnt' change between emerged versions.