`git describe`
Rainer Müller
raimue at macports.org
Tue Nov 29 14:59:09 CET 2016
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
More information about the macports-dev
mailing list