how to properly upgrade port to new main version and remove
dependency to old one?
seba.bsd at sinux.net
Thu Mar 5 08:01:18 PST 2009
I'm trying understand how properly upgrade port and avoid old
I mean for sample I've both gtk-1.2 and gtk2 installed. Some port depend
on gtk1 other to gtk2. I've try everything removing gtk1.2 ;
pkg_deinstall gtk1 => run pkgdb -F and force to gtk2, run pkgdb
-s /gtk1/gtk2/, put WITH_GTK2=YES in pkgtools.conf,...
Some day later I'll run a portupgrade -a and some port are rebuilding
with gtk1.2. I become a fool. And as some port look for gtk2 only if
gtk1 is not installed many port using gtk2 are rebuild with gtk1. I
really don't understand this behavior and what am I doing wrong.
Now I've same problem with tcl/tk 8.4 => 8.5. "UPDATING" says
"The default version of Tcl/Tk has been changed from 8.4 to 8.5.
To restore old behavior and prefer using Tcl 8.4 with supported ports
set WITH_TCL_VER=84 in /etc/make.conf. (...)"
Why if the default is to 8.5 some ports continue to reinstall 8.4 even
if pkgdb says they depend on 8.5 ?
I just want understand a bit more how use port tree.
Thank you for lightness.
 Sebastien Chassot - Geneva (Switzerland)
More information about the freebsd-ports