Date: Thu, 25 Nov 2004 15:14:57 +0200 From: Alexander Portnoy <my-subs@mail.ru> To: freebsd-isp@freebsd.org Subject: Re: Cleaning up port dependencies Message-ID: <20041125151457.21f23386.my-subs@mail.ru> In-Reply-To: <41A525E0.5080306@arc.net.my> References: <41A525E0.5080306@arc.net.my>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Nov 2004 08:22:56 +0800 Nick Kraal <nick@arc.net.my> wrote: > Dear all, > > Running 'portupgrade -a' religiously to automatically update all > installed installed ports, I have started to notice duplicates in > certain installed applications. Most likely due to dependencies. > > %pkg_info > ... > ruby-1.6.8.2004.07.28 An object-oriented interpreted scripting language > ruby-1.8.2.p2_1 An object-oriented interpreted scripting language > tk-8.3.5_5 Graphical toolkit for TCL > tk-8.4.7,2 Graphical toolkit for TCL > libtool-1.3.5_2 Generic shared library support script (version 1.3) > libtool-1.5.10 Generic shared library support script (version 1.5) > > Is there a way to check on whether dependencies on the earlier version > still exist. Or perhaps I have deleted a port that does not need that > port version any more. Just some housekeeping here. > > Thanks in advance, > "pkg_info -r <pkg_name>" > -nick/ Try to use "pkg_info -r <pkg_name>" and "pkg_info -R <pkg_name>" to see the dependencies. I am not sure that this will work for build dependences like libtool, but this work for regular run dependencies: $ pkg_info -rR gtk-2.4.13 Information for gtk-2.4.13: Depends on: Dependency: expat-1.95.8 Dependency: freetype2-2.1.7_3 Dependency: perl-5.8.5 Dependency: jpeg-6b_3 Dependency: libiconv-1.9.2_1 Dependency: png-1.2.7 Dependency: pkgconfig-0.15.0_1 Dependency: imake-6.7.0_2 Dependency: fontconfig-2.2.3,1 Dependency: gettext-0.13.1_1 Dependency: libxml2-2.6.16 Dependency: xorg-libraries-6.7.0_3 Dependency: tiff-3.7.0_2 Dependency: xorg-fonts-encodings-6.7.0 Dependency: bitstream-vera-1.10 Dependency: glib-2.4.7 Dependency: shared-mime-info-0.15 Dependency: xorg-fonts-truetype-6.7.0 Dependency: libXft-2.1.6 Dependency: hicolor-icon-theme-0.5 Dependency: pango-1.6.0 Dependency: atk-1.8.0 Required by: emelfm2-0.0.9_1 gconf2-2.8.1 gftp-2.0.18.r1_1 gimp-2.0.6_1,1 gnomevfs2-2.8.3_1 gqview-1.4.5_1 gtk-engines2-2.2.0_5 librsvg2-2.8.1_1 mozilla-1.7.3_3,2 openoffice-2.0 pgadmin3-1.0.2_1 sylpheed-gtk2-0.9.99.20041024_1 vim-gtk2-6.3.16 wxgtk2-common-devel-2.5.2_1 wxgtk2-contrib-common-devel-2.5.2_1 wxgtk2-unicode-contrib-devel-2.5.2_1 wxgtk2-unicode-devel-2.5.2_1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041125151457.21f23386.my-subs>