On Tuesday 28 February 2006 15:16, Marius Mauch wrote:
> Check your mail archives for the old discussions about distfile name
> mangling (short version: a lot of stuff relies on distfile-name ==
> basename(src_uri), also if at all this would only be a long term
> solution due to compat issues involved).

For this reason a package might just specify a DIST_PREFIX. This would 
indicate a subdirectory in DISTDIR where the package is stored. When the 
package is merged, the files are copied from this directory instead of 
the DISTDIR directory. As the copy is already made, this behaviour should 
not be problematic. This does however solve 99% of the file name 
problems. The DIST_PREFIX value could be anything, with empty being the 
feature disabled, allowing for the much-wanted sharing of files between 
packages.

Even better is that this will even work with portage versions that do not 
support this feature. They will just store everything in DIST_PREFIX as 
it is now.

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net

Attachment: pgpWhRwKLnlQx.pgp
Description: PGP signature

Reply via email to