On Mon, Dec 23, 2002 at 10:03:42PM -0500, Carolyn Longfoot wrote:
> How can I install a port without reference to already installed portions of 
> it, so that it blindly installs everything it needs, regardless of what may 
> or may not already be there? I think I messed up KDE and ended up 
> installing some parts by themselves but it still misses obscure files, like 
> kartsdispatcher.h (even though I have arts installed).
> KDE is obviously a very fat port with lots of components and I'm hoping a 
> forced fresh install will fix my problems. I have no idea how to clean up 
> the mess otherwise, since it's impossible to locate all the files and ports 
> that the KDE 'make install', plus my manual fiddling,  have already 
> installed.

Set FORCE_PACKAGE_REGISTER in the environment.  From /etc/make.conf:

    # Override "don't install a port that's already installed" behavior.
    # One might wish to do this for ports debugging or to unconditionally
    # reinstall a set of suspect/broken ports.
    #
    #FORCE_PKG_REGISTER=    YES

Alternately, or maybe even additionally, it's quite handy to use
portupgrade's force update feature, eg:

    portupgrade -fr x11/kde3

which will reinstall kde3 and every installed port that depends on
kde3 --- probably many hours worth of compilation.

        Cheers,

        Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to