Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] dodoc creating a symlink to distfiles?
Date: Mon, 11 Apr 2011 23:33:21
Message-Id: 4DA38F8B.7070706@gentoo.org
In Reply to: Re: [gentoo-portage-dev] dodoc creating a symlink to distfiles? by Zac Medico
1 On 04/11/2011 10:14 AM, Zac Medico wrote:
2 > On 04/11/2011 09:04 AM, James Cloos wrote:
3 >> the recently added sci-math/minisat ebuild has this:
4 >>
5 >> dodoc "${DISTDIR}"/MiniSat.pdf || die
6 >>
7 >> which results in:
8 >>
9 >> sym /usr/share/doc/minisat-2.2.0-r2/MiniSat.pdf -> /usr/portage/distfiles/MiniSat.pdf 1302537422
10 >>
11 >> Is that a portage issue or an issue with the ebuild?
12 >>
13 >> My portage is a few days old; I last merged commit 1d6e6b2fe3b01 from 27 March.
14 >>
15 >> -JimC
16 >
17 > It's a side-effect from this fix which makes dodoc preserve symlinks
18 > like doins does in EAPI 4:
19 >
20 > https://bugs.gentoo.org/show_bug.cgi?id=356461
21 >
22 > I guess that we could make doins automatically dereference any symlinks
23 > that refer to files absolute paths. For symlinks that refer to
24 > directories by absolute paths, we could continue to preserve the symlink
25 > as we do now.
26
27 Here's the patch:
28
29 http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=2e334d77e3d1836ab6ba5dfc1700e90f9599d4d3
30 --
31 Thanks,
32 Zac

Replies

Subject Author
Re: [gentoo-portage-dev] dodoc creating a symlink to distfiles? Zac Medico <zmedico@g.o>