Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2000 11:27:50 +0700
From:      Roger Merritt <mcrogerm@stjohn.ac.th>
To:        freebsd-questions@freebsd.org
Subject:   Re: makeworld analogy for ports
Message-ID:  <3.0.6.32.20000830112750.00870b80@stjohn.stjohn.ac.th>
In-Reply-To: <4.3.1.2.20000829092913.00ab8750@mail.udel.edu>
References:  <018801c011a0$2bed37a0$c80aa8c0@joskis>

next in thread | previous in thread | raw e-mail | index | archive | help
At 09:33 AM 8/29/00 -0400, you wrote:
>
>>hi,
>>
>>i have 'played' with makeworld for 3 months right now. and i think it is
>>cool ;)
>>
>>now, i have some more questions about updating:
>>is there are standard method of updating all installed ports
automatically?
>
>Not exactly "automatic", but try:
>         pkg_version -c > need.to.update
>
>Then manually edit 'need.to.update' (or whatever you called your 
>file).  Edit it by putting a ``!/bin/sh'' as the first line, and then go 
>through and remove or correct any additions that you don't want -
example, 
>when I run it it offers up that I should upgrade to XFree4.0, which I
don't 
>want to do, so I remove those lines.
>
>Also, on every line that shows ``make install'' I usually add on ``&&
make 
>clean'' after that to make sure the work directories get cleaned out.
>
>Do all that, make the file executable, run it, and come back once in a 
>while to stir or add water as needed.  Some updates will require manual 
>intervention or questions answered, but it sure beats having to create a 
>script yourself =)
>
>Hope that helps,
>John
>

Wow, works a treat! This should really be in the Handbook!
-- 
Roger



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?3.0.6.32.20000830112750.00870b80>