Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2005 18:33:16 +0200
From:      =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= <gabor.kovesdan@t-hosting.hu>
To:        Gordon Ross <freebsd@gordonross.org.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sharing /usr/ports
Message-ID:  <43357FCC.8080305@t-hosting.hu>
In-Reply-To: <Pine.BSO.4.61.0509241713350.31419@openbsd36-1.gordonross.me.uk>
References:  <Pine.BSO.4.61.0509241657210.31419@openbsd36-1.gordonross.me.uk>	<43357A3C.1060905@t-hosting.hu> <Pine.BSO.4.61.0509241713350.31419@openbsd36-1.gordonross.me.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Gordon Ross wrote:

> On Sat, 24 Sep 2005, [ISO-8859-1] Kövesdán Gábor wrote:
>
>> Gordon Ross wrote:
>>
>>> I've got two FreeBSD 5.4 machines. One is a server, the other is a 
>>> desktop.
>>>
>>> I've mounted on the desktop the /usr/ports directory from the 
>>> server. My idea being that I could share the one /usr/ports 
>>> directory amongst my machines and save disc space, and also save 
>>> having to recompile everything whenever I install a port.
>>>
>>> My problem is that, if I do a "make" on one machine, I can't then do 
>>> a "make install" on the other machine. (When I try, nothing happens)
>>>
>>> I haven't mounted any of the directories from under /var/db (e.g. 
>>> pkg, ports)
>>>
>>> Is what I'm trying to do possible ?
>>> If so, what am I missing or doing wrong ?
>>>
>> What if You do "make FORCE_PKG_REGISTER=YES install" on the client 
>> machine?
>
>
> Hmm. No joy. Just the same, nothing. :-(

Then I suggest You doing "make package" instead of "make install" and 
then You will get a file called ${PORTNAME}-${PORTVERSION}.tbz. This is 
a simple package file, You can install this with "pkg_add filename.tbz" 
on all machines You want.

Gabor Kovesdan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43357FCC.8080305>