On 2014/09/17 15:52, frantisek holop wrote: > > i know mariadb is replacing mysql. > so i was wondering how pkg_add will deal with it. > > $ sudo pkg_add -ui > ... > Can't update > mysql-client-5.1.73v0+mysql-server-5.1.73p0v0->mariadb-client-10.0.13p0: no > update found for mysql-server-5.1.73p0v0
Blargh EPOCHs. For quirks replacement to work, the version number of the new port must be higher than the version of the port it's replacing, even though it is a different port. The MySQL packages have EPOCH markers from the last time we went mysql->mariadb->mysql so the mariadb packages will need the same. ENOTIME right now but I am OK with adding EPOCH=0 to databases/mariadb/Makefile. A better fix would be to modify pkg_add / quirks so that the version check is not done for a "quirks-based rename".
