tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Local patch revision in PKGREVISION
Hello Stephen,
Stephen Borrill writes:
> [...]
> How about making the nb suffix support major.minor.teeny syntax (such that
> PKGREVISION=1.10 is newer than PKGREVISION=1.9)? I think this is more
> flexible than my originally proposed pX syntax.
>
> You could then make the framework add .${LOCALREVISION} onto PKGREVISION
> if the LOCALREVISION is defined. Or should that be LOCALREVISION.pkgname
> so it can be easily added to mk.conf?
> [...]
If I'm not missing something I think this is already supported
(DISCLAIMER: I've only quickly tested that via pkg_admin(1) `pmatch'
command!), e.g.:
% pkg_admin pmatch 'foo>=0.1nb2' 'foo-0.1nb2'
% pkg_admin pmatch 'foo>=0.1nb2.1' 'foo-0.1nb2'
Exit 1
% pkg_admin pmatch 'foo>=0.1nb2.1' 'foo-0.1nb2.2'
I'm not sure if a possible LOCALREVISION.pkgname or
LOCALREVISION.${PKGPATH} can be easily injected to PKGREVISION
directly via mk.conf though!
Home |
Main Index |
Thread Index |
Old Index