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

Replies

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