From owner-freebsd-questions@FreeBSD.ORG Sat Sep 24 16:33:22 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E46D016A41F for ; Sat, 24 Sep 2005 16:33:22 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EBCE43D55 for ; Sat, 24 Sep 2005 16:33:21 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 528F4997ABC; Sat, 24 Sep 2005 18:33:20 +0200 (CEST) Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 54349-04; Sat, 24 Sep 2005 18:33:17 +0200 (CEST) Received: from [80.98.133.57] (catv-50628539.catv.broadband.hu [80.98.133.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.t-hosting.hu (Postfix) with ESMTP id 073EA9977E5; Sat, 24 Sep 2005 18:33:17 +0200 (CEST) Message-ID: <43357FCC.8080305@t-hosting.hu> Date: Sat, 24 Sep 2005 18:33:16 +0200 From: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gordon Ross References: <43357A3C.1060905@t-hosting.hu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at t-hosting.hu Cc: freebsd-questions@freebsd.org Subject: Re: Sharing /usr/ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2005 16:33:23 -0000 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