--- /etc/dispatch-conf.conf 2011-12-05 12:00:39.406780282 +0100 +++ /etc/._cfg0000_dispatch-conf.conf 2011-12-12 09:24:09.000000000 +0100 @@ -3,7 +3,7 @@ # # Directory to archive replaced configs -archive-dir=/etc/config-archive +archive-dir=${EPREFIX}/etc/config-archive # Use rcs for storing files in the archive directory? # WARNING: When configured to use rcs, read and execute permissions of AFAIK the variable EPREFIX doesn't need to be defined globally in a prefixed system. therefor using it here, doesn't make sense. Better using @GENTOO_PORTAGE_EPREFIX@ and eprefixify from prefix eclass.
Hehe, EPREFIX is defined in the calling environment (by Portage) now, but I'll let Zac give you the final word on this. (I don't like it either, but Zac wants to go this way.)
(In reply to comment #1) > Hehe, EPREFIX is defined in the calling environment (by Portage) now Right, it's available to make.globals as well now: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9805fc263d785a93ea4a8a6571b73a7b53e85bba And the dispatch-conf.conf parser has support to expand ${EPREFIX} in archive-dir: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=4b4ad3579e83fc59be55a1304d483fbbbc95f6f4
okay, I wasn't aware of this change.
*** Bug 394465 has been marked as a duplicate of this bug. ***