From owner-freebsd-ports@FreeBSD.ORG Tue Oct 14 13:03:50 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10BD81065687 for ; Tue, 14 Oct 2008 13:03:50 +0000 (UTC) (envelope-from gabor@kovesdan.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id BEAC48FC17 for ; Tue, 14 Oct 2008 13:03:49 +0000 (UTC) (envelope-from gabor@kovesdan.org) Received: from localhost (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id 8327E14D758B; Tue, 14 Oct 2008 14:45:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.mypc.hu ([127.0.0.1]) by localhost (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FyXhQ8hy0uV6; Tue, 14 Oct 2008 14:45:18 +0200 (CEST) Received: from [152.66.144.2] (dhcp-2.r.wlan.bme.hu [152.66.144.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id DDB5014D7589; Tue, 14 Oct 2008 14:45:17 +0200 (CEST) Message-ID: <48F49458.6040402@kovesdan.org> Date: Tue, 14 Oct 2008 14:45:12 +0200 From: Gabor Kovesdan User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <48F488F0.9040802@commit.it> In-Reply-To: <48F488F0.9040802@commit.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Angelo Turetta Subject: Re: What about DESTDIR applied to ports? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 13:03:50 -0000 Angelo Turetta ha scritto: > I seem to remember some work on building ports/packages in a chroot > using DESTDIR. > > I found a lot of infrastructure in bsd.destdir.mk, does anybody know > what status all that stuff is at? > > Any docs/errata/TODO worth reading before experimenting with it? Hello Angelo, I worked on that DESTDIR feature, and as far as I know, there hasn't been any serious bug reported about it, so I think you can safely use it. What it does is nullmounting your ports tree into a chroot environment and building the ports there chrooted. First, there was an attempt to install ports to the chroot from outside but it failed because most of the ports are not ready to do so out of the box, so now the DESTDIR-support is much simpler and less error-prone. Regards, Gabor