Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2000 16:39:04 -0600
From:      Laurence Berland <stuyman@confusion.net>
To:        Peter Pentchev <roam@orbitel.bg>
Cc:        ports@freebsd.org
Subject:   Re: Upgrade a port
Message-ID:  <39FCA707.3C27F704@confusion.net>
References:  <39FCA42D.5462149D@confusion.net> <20001030003505.C500@ringworld.oblivion.bg>

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


Peter Pentchev wrote:
> 
> On Sun, Oct 29, 2000 at 04:26:53PM -0600, Laurence Berland wrote:
> > I'm trying to upgrade KDE2 from a pre- to the current version.  I had
> > previously installed using the metaport, so I go to /usr/ports/x11/kde2
> > and type 'make deinstall.'  Now I go 'make' but nothing happens
> >
> > dhcp089221# make
> > dhcp089221#
> 
> Yup, 'make' does nothing, because it sees that you've already built
> something.  You need to 'make clean' to clean up everything left over
> from your previous build.

I should have mentioned I did a cd /usr/ports; make clean 
before I cvsuped to the newest ports tree

> 
> >
> > make reinstall just reinstalls the same stuff again, by just finding
> > that all the things it depends on have been installed, and then
> > reregistering itself
> 
> 'make reinstall' depends on what the 'make all' (a.k.a. 'make build')
> thinks on what needs to be remade - in your case, nothing.

> >
> > dhcp089221# make reinstall
> [snip]
> >
> > Any ideas on the cleanest way to deal with all this and upgrade kde2
> > from sources?
> 
> Yup, do a 'make clean' and then 'make' (synonymous to 'make all').
> You can do both with a single command - 'make clean all'

I have essentially done that already.  I think the complication is that
this is a metaport, and its dependencies are what I would really like to
update, but I don't know an easy way to deinstall all the dependencies
automagically.

> 
> You may even try 'make deinstall clean all reinstall' :)
> 
> HTH.
> 
> G'luck,
> Peter
> 
> --
> Nostalgia ain't what it used to be.

-- 
Laurence Berland
Intern, Flooz.com
Northwestern '04
stuyman@confusion.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39FCA707.3C27F704>