Date: Wed, 18 Apr 2001 08:25:10 -0700 (PDT) From: Philip Hallstrom <philip@adhesivemedia.com> To: Nate Puri <natepuri@yahoo.com> Cc: <freebsd-questions@freebsd.org> Subject: Re: How to people easily update ports with dependencies (such as galeon)? Message-ID: <Pine.BSF.4.31.0104180822470.93548-100000@oddjob.adhesivemedia.com> In-Reply-To: <20010418144251.22905.qmail@web3306.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
The problem with that though is let's say that it spits out this (pseudo speaking): update portA update portB update portC And let's say that portA depends on portB which depends on port C. Well, when I run that code to update portA it's going to automatically update portB which will update portC which means the rest of the above script is pointless -- and it won't remove the currently installed old versions of portB and portC. Although now that I think about it, I could change the "make install" to "make reinstall" in the output of pkg_version -c and that would do it. Maybe I"ll just not worry about two versions of the same port being installed :) -philip On Wed, 18 Apr 2001, Nate Puri wrote: > Simple, > > do this... > > pkg_version -c > update_ports.sh > > Then go in update_ports.sh and you will see a list up > ports that need to be updated (and their dependencies > will be in there too). Delete the top few lines, add > '#!/bin/sh'; do chmod 755 update_ports.sh, then do > ./update_ports.sh, and > viola!, updated ports. > > Later, > Nate > --- Philip Hallstrom <philip@adhesivemedia.com> wrote: > > Hi all - > > I was wondering if anyone had any suggestions on a > > painless way to > > update a port that has dependencies? > > > > In my case, I currently have galeon-0.10.2 which > > requires glib-1.2.10. I > > currently have glib-1.2.8. The problem is I can > > remove my galeon port, > > and install the new one, but installing the new one > > will install the new > > version of glib without removing the old one. > > > > is there an easy way to tell it to remove any old > > ports of new versions > > it's installing? > > > > thanks! > > > > -philip > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of > > the message > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.31.0104180822470.93548-100000>