Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Mar 2009 16:34:34 +0100
From:      Sebastien Chassot <seba.bsd@sinux.net>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   how to properly upgrade port to new main version and remove dependency to old one?
Message-ID:  <1236267275.1379.44.camel@dhcppc0>

next in thread | raw e-mail | index | archive | help

Hi all,

I'm trying understand how properly upgrade port and avoid old
dependency.

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)
  ||






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1236267275.1379.44.camel>