pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/lang/python
On Mon, Oct 06, 2008 at 05:06:52PM +0200, Alan Barrett wrote:
> This looks useful, especially if pkg_rolling-replace gets taught
> to pass the correct value to "make replace". But why PKGNAME_OLD
> instead of using the OLDNAME variable which is already used by
> mk/flavor/pkg/replace.mk)?
OLDNAME has different meanings in the current code. It is not
necessarily the first match for the base name pattern. The name is
derived from being similiar to PKGNAME_REQD.
> Here, I suppose the pattern from before the first ':' in the DEPENDS
> line could be used in roughly the same way as your patch uses
> PKGNAME_OLD, but being careful to handle wildcards and alternates.
There never was a good reason to allow implicit depending on multiple
versions, so I'm not sure if this applies. The logic is stupid, but
covers the needs we had so far.
Joerg
Home |
Main Index |
Thread Index |
Old Index