Ignore:
Timestamp:
Dec 10, 2008, 4:49:53 AM (12 years ago)
Author:
jmpp@…
Message:

Finally move trunk away from floating point version numbers and instead use the more common x.y.z format, by:

  • Moving base/macports1.0/macports_autoconf.tcl.in to the @MACPORTS_VERSION@ autoconf variable;
  • Introducing a temporary special-case hack to force the selfupdate run in case the $macports::autoconf::macports_version variable is in the old format and smaller or equal to 1.800 (cf. my comment in the selfupdate proc in base/macports1.0/macports.tcl);
  • Removing the now unnecessary base/config/mp_version file, as everything is now determined from the base/config/macports_version file;
  • Removing the @MP_VERSION@ autoconf macro;
  • Regenerating the configure script;

All in all, we should have standard x.y.z version numbers starting from current trunk + 1 (e.g. 1.8.1), since
current trunk will only serve to introduce this code into users' hands first.

PS: I chose to force the upgrade as the special-case hack, since otherwise I'd have to reset the $macports::autoconf::macports_version
variable to achieve the same result, and that seems like it might make some babies out there cry...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports_autoconf.tcl.in

    r32167 r43375  
    3434namespace eval macports::autoconf {
    3535    variable macports_conf_path "@MPCONFIGDIR_EXPANDED@"
    36     variable macports_version "@MP_VERSION@"
     36    variable macports_version "@MACPORTS_VERSION@"
    3737    variable macports_user_dir "~/.macports"
    3838    variable svn_path "@SVN@"
Note: See TracChangeset for help on using the changeset viewer.