Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] SRC_URI component naming collision
Date: Tue, 28 Feb 2006 15:38:27
In Reply to: Re: [gentoo-dev] SRC_URI component naming collision by Marius Mauch
1 On Tuesday 28 February 2006 15:16, Marius Mauch wrote:
2 > Check your mail archives for the old discussions about distfile name
3 > mangling (short version: a lot of stuff relies on distfile-name ==
4 > basename(src_uri), also if at all this would only be a long term
5 > solution due to compat issues involved).
7 For this reason a package might just specify a DIST_PREFIX. This would
8 indicate a subdirectory in DISTDIR where the package is stored. When the
9 package is merged, the files are copied from this directory instead of
10 the DISTDIR directory. As the copy is already made, this behaviour should
11 not be problematic. This does however solve 99% of the file name
12 problems. The DIST_PREFIX value could be anything, with empty being the
13 feature disabled, allowing for the much-wanted sharing of files between
14 packages.
16 Even better is that this will even work with portage versions that do not
17 support this feature. They will just store everything in DIST_PREFIX as
18 it is now.
20 Paul
22 --
23 Paul de Vrieze
24 Gentoo Developer
25 Mail: pauldv@g.o
26 Homepage: