On 2016-11-29 13:28, Clemens Lang wrote:
> You shouldn't try to extract information from a x.x.99 version number, so no, 
> no
> such synchronization is required. You can just use
>   [vercmp $macports_version 2.3.4] > 0
> to check whether a bugfix you need is available.

In the past, we often just checked for new features by testing whether
the corresponding option or proc exists.

if {[info exists ...]} {
    ... # new version
} else {
    ... # old version, for compatibility
}

Rainer

Reply via email to