From owner-freebsd-ports@FreeBSD.ORG Fri Aug 4 16:08:23 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6B1F16A4DD for ; Fri, 4 Aug 2006 16:08:23 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72B8843D45 for ; Fri, 4 Aug 2006 16:08:23 +0000 (GMT) (envelope-from gabor@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 9A8B999B7CE for ; Fri, 4 Aug 2006 18:08:22 +0200 (CEST) X-Virus-Scanned: amavisd-new at t-hosting.hu 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 D96uc244oseS for ; Fri, 4 Aug 2006 18:08:19 +0200 (CEST) Received: from [192.168.2.186] (catv-50635cb6.catv.broadband.hu [80.99.92.182]) by server.t-hosting.hu (Postfix) with ESMTP id 8E4E099B7AE for ; Fri, 4 Aug 2006 18:08:19 +0200 (CEST) Message-ID: <44D370E9.1080209@FreeBSD.org> Date: Fri, 04 Aug 2006 18:08:09 +0200 From: =?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?= User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: HEADS-UP: DESTDIR support committed to Mk/ 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: Fri, 04 Aug 2006 16:08:24 -0000 Hi, I am pleased to announce, that portmgr committed my patch for ports infrastructure DESTDIR support today. Note that this support is only for the infrastructure, ports may or may not respect the DESTDIR macro, so you should use this with care. Also note, that we only tested this patchset without the DESTDIR macro set, but will do an another one with DESTDIR set to something and check how many ports respect DESTDIR and how many left to fix, but port maintainers can start checking their ports and fixing them if necessary. Unfortunately, testing ports for DESTDIR is pretty difficult, since we don't have support for this in tinderbox. I used a chroot jail installed into an another chroot jail to ensure I won't make my filesystem dirty. I chrooted into the first jail and run make install for the given port with DESTDIR set to the another chroot jail, checked if everything went fine and did make deinstall and checked if everything is still good. I know it's a bit complicated, but we don't have better yet. I've also written a Wiki page for DESTDIR with some guidelines what to care about when writing DESTDIR-respective ports. You can find it here: http://wikitest.freebsd.org/DESTDIR I also suggest to read the CHANGES entry, if you haven't done this yet: http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/CHANGES?rev=1.57&content-type=text/plain Documentation update for porters-handbook will also come soon. If you have questions, please feel free to contact me. -- Cheers, Gabor