This patch allows successful installation of sys-apps/miscfiles-1.5 on my prefix: --- miscfiles-1.5.ebuild.orig 2010-11-18 12:26:16.000000000 +1300 +++ miscfiles-1.5.ebuild 2010-11-18 12:41:18.000000000 +1300 @@ -28,7 +28,7 @@ } src_install() { - emake install DESTDIR="${D}" || die + emake install DESTDIR="${ED}" || die dodoc NEWS ORIGIN README dict-README # not sure if this is still needed ...
What about changing the following line: econf --datadir=/usr/share/misc || die to econf --datadir="${EPREFIX}/usr/share/misc instead. I haven't tested it. I'll look at it soon (maybe tomorrow) if no one else does.
of course: econf --datadir="${EPREFIX}"/usr/share/misc
Looks like that works too. (I've just tested and didn't get any errors.) I chose that particular line because miscfiles-1.4.2-r1.ebuild has: src_install() { emake install prefix="${ED}/usr" || die dodoc NEWS ORIGIN README dict-README
Yea, the ebuild got re-factored abit on the bump, I guess. Anyway, fixed now. Thanks! + 18 Nov 2010; Jeremy Olexa <darkside@gentoo.org> miscfiles-1.5.ebuild: + Fix for Gentoo Prefix, bug 345935 by Dan Wallis
*** Bug 345957 has been marked as a duplicate of this bug. ***