Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2005 21:26:05 +0100
From:      Chris <chris@childeric.freeserve.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   making packages
Message-ID:  <4314C0DD.2080203@childeric.freeserve.co.uk>

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

I'm just checking out how to make my own packages from ports. To see how 
things work I  did ``make package'' in misc/bb. I get this:

[snip]
===>  Checking if misc/bb already installed
===>   bb-1.3.r1 is already installed
       You may wish to ``make deinstall'' and install this port again
       by ``make reinstall'' to upgrade it properly.
       If you really wish to overwrite the old port of misc/bb
       without deleting it first, set the variable "FORCE_PKG_REGISTER"
       in your environment or the "make install" command line.
*** Error code 1
.......................................

bb is indeed already installed.

Can I make a package without uninstalling the port? I'm not really 
overwriting the old port so "FORCE_PKG_REGISTER" doesn't seem 
appropriate. Even if a port is not installed I don't want to install 
anything, just make a binary that I can transfer to another computer and 
install with pkg_add.

Are there better ways of making a package?

Thanks

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4314C0DD.2080203>