From owner-freebsd-ports@freebsd.org Fri Oct 2 19:46:54 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDE45A0DB3D for ; Fri, 2 Oct 2015 19:46:54 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: from elektropost.org (elektropost.org [217.115.13.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F93E10A6 for ; Fri, 2 Oct 2015 19:46:53 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: (qmail 58633 invoked from network); 2 Oct 2015 19:46:49 -0000 Received: from elektropost.org (HELO elektropost.org) (erdgeist@erdgeist.org) by elektropost.org with ESMTPS (DHE-RSA-AES128-SHA encrypted); 2 Oct 2015 19:46:49 -0000 Subject: Re: change ports default work directory prefix To: Kimmo Paasiala References: <560ED943.4060106@erdgeist.org> Cc: freebsd-ports From: Dirk Engling Message-ID: <560EDF26.2090500@erdgeist.org> Date: Fri, 2 Oct 2015 21:46:46 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 19:46:54 -0000 On 02.10.15 21:42, Kimmo Paasiala wrote: > What about DISTDIR (/usr/ports/distfiles) and PACKAGES > (/usr/ports/packages)? Those are now kinda stuck under /usr/ports as > well forcing the ports tree to be read-write unless overridden to some > other directories. For the distfiles I've used /var/cache/distfiles > and I think that would follow hier(7) nicely if it was changed that > way. You're right. Actually in ezjail I modify make.conf to read WRKDIRPREFIX= /var/ports DISTDIR= /var/ports/distfiles PACKAGES= /var/ports/packages INDEXDIR= /var/ports But I was told that /var is not the correct place, at least for WRKDIRPREFIX. erdgeist