Citando Chris Janton :
Hi
some days are better than others.
Some time ago I did a
port install php5 {some set of variants here}
Today I do
port selfupdate port list outdated
The list command is used to display the list of ports available and their versions. port list outdated lists the portfile version of the outdated ports. You should use 'port outdated'.
and learn that my php5 is outdated. OK. Not sure why since
port list installed
shows
php5 @5.2.4 www/php5
and the outdated list indicates the same version number.
You should use 'port installed php5' to get the info. It will also tell you which variants you slected.
If I do
port upgrade php5
I get a number of ports installed/upgraded (e.g. libxslt).
I *assume* that the upgrade will install the latest version of php5 just like I did it before, with all of the variants the same.
Yes, the variants you selected get preserved by upgrades (as long as they still exist, and unless some bugs...)
I sure wish I could remember what those variants were, just in case I wanted to do a
port install php5 {variants}
on a different system, or to add a note to my black book.
Just remember that list is generally not interesting. The different commands you should remember are install, uninstall, upgrade, outdated, installed, variants, and info. Emmanuel