build packages recursively from ports collection

Mark McConnell markmc at tisimaging.com
Thu Feb 5 09:42:10 PST 2004


On 5 Feb 2004 at 14:49, Didier WIROTH wrote:
{build packages recursively from por...}:

> Hi,
> 
> I want to use some of our freebsd servers to build .tgz binaries from the
> ports collection. Then, I would like to install the packages with pkg_add on
> different workstations.
> 
> My main problem is how to build packages on servers without installing them!
> 
> All i could find or was told, is:
> 1) make fetch-recursive
> 2) postinstall -rRp kde
> 3) portupgrade -frRp kde
> 
> All of theses samples "installs" the ports software!
> 
> For example kde: 
> How do you recursively build .tgz packages of the kde sources and their
> dependencies "WITHOUT" actually installing them on the servers?

On 5 Feb 2004 at 14:49, Didier WIROTH wrote:
{build packages recursively from por...}:

> Hi,
> 
> I want to use some of our freebsd servers to build .tgz
> binaries from the ports collection. Then, I would like to
> install the packages with pkg_add on different workstations. 
> 
> My main problem is how to build packages on servers without
> installing them! 
> 
> All i could find or was told, is:
> 1) make fetch-recursive
> 2) postinstall -rRp kde
> 3) portupgrade -frRp kde
> 
> All of theses samples "installs" the ports software!
> 
> For example kde: How do you recursively build .tgz packages
> of the kde sources and their dependencies "WITHOUT" actually
> installing them on the servers? 

Do you mean, for example:

# cd /usr/port/portname
# make 

This creates the ports, plus the dependencies, and does not install 
them.  To install:  

# make install
 or better
# make install clean

Mark
--



More information about the freebsd-questions mailing list