Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2008 14:45:12 +0200
From:      Gabor Kovesdan <gabor@kovesdan.org>
To:        freebsd-ports@freebsd.org
Cc:        Angelo Turetta <aturetta@commit.it>
Subject:   Re: What about DESTDIR applied to ports?
Message-ID:  <48F49458.6040402@kovesdan.org>
In-Reply-To: <48F488F0.9040802@commit.it>
References:  <48F488F0.9040802@commit.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48F49458.6040402>