On Thu, Jul 02, 2009 at 11:56:57AM -0700, Darren Weber said: > On Wed, Jul 1, 2009 at 2:20 PM, Toby Peterson <t...@apple.com> wrote: > > > pextlib provides 'rpm-vercomp' which probably does what you want. > > > > Is this command available in a Portfile? Where are the docs on how to use > it?
'man portfile' appears to be the only documentation for it beyond the source, though the docs there are short of verbose: rpm-vercomp versionA versionB Compare two RPM-format versions for equality. This works like strcmp() in that it returns -1, 0, or 1 when versionA is earlier, equal, or later than versionB. Bryan > > TIA, > Darren _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev