[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] SRC_URI component naming collision
From: Paul de Vrieze <pauldv () gentoo ! org>
Date: 2006-02-28 15:28:06
Message-ID: 200602281628.07254.pauldv () gentoo ! org
[Download RAW message or body]
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: pauldv@gentoo.org
Homepage: http://www.devrieze.net
[Attachment #3 (application/pgp-signature)]
--
gentoo-dev@gentoo.org mailing list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic