From owner-freebsd-ports@FreeBSD.ORG Thu Sep 26 22:05:19 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3BCB118A for ; Thu, 26 Sep 2013 22:05:19 +0000 (UTC) (envelope-from william88@gmail.com) Received: from mail-qa0-x232.google.com (mail-qa0-x232.google.com [IPv6:2607:f8b0:400d:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F28442E25 for ; Thu, 26 Sep 2013 22:05:18 +0000 (UTC) Received: by mail-qa0-f50.google.com with SMTP id j7so1260891qaq.9 for ; Thu, 26 Sep 2013 15:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=SUlKjJUHDj1//QR5IW4LkbXXwnPoxA0Glm6KngTTNE0=; b=VKwtuIbrtbSacc7D3rCTTOIWLLOhY8SNjOQOo2vQZTfFhsg9VBxe8ygVoAGPp7QMWX nRv8rNoHdF0/D28bbjmczP/A9uMYpg/gmrh5efvCUlmQx7qvCupSkFUy/q/OxMRVF7az 7oTVuryc8qKYVHOHcFdIs7TkSDw5yIuZJMVeQM5eRmtOVPysqKwtmYpGoRtVDUVToSdf 4OylcU3sDLlFLH+acyCvuh1kRFvR/yljI9IDqlB2ux9CyhLyUXfNc+BfXxIaPr5s9bCh SnZTXszNU4aOR5rv/3xukwLjjVkyIu3I8CddKaNbvX1v/l8CX7pWL09hd789jQoqJTA2 /RlA== MIME-Version: 1.0 X-Received: by 10.49.50.198 with SMTP id e6mr4737408qeo.76.1380233118168; Thu, 26 Sep 2013 15:05:18 -0700 (PDT) Received: by 10.140.81.233 with HTTP; Thu, 26 Sep 2013 15:05:17 -0700 (PDT) In-Reply-To: <3429F9F1-F1DD-4A66-81D6-1C5A8FCE624D@lassitu.de> References: <99A515E2-46D8-4EB4-9383-4100918E701C@lassitu.de> <3429F9F1-F1DD-4A66-81D6-1C5A8FCE624D@lassitu.de> Date: Thu, 26 Sep 2013 19:05:17 -0300 Message-ID: Subject: Re: Staging and read-only /usr/ports From: William Grzybowski To: Stefan Bethke Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Sep 2013 22:05:19 -0000 On Thu, Sep 26, 2013 at 6:57 PM, Stefan Bethke wrote: > > Am 26.09.2013 um 23:54 schrieb William Grzybowski : > >> On Thu, Sep 26, 2013 at 6:52 PM, Stefan Bethke wrote: >>> Guys, >>> >>> I've noticed that more and more ports are trying to build a package /us= r/ports/category/port/port-version.tgz. Since my /usr/ports is mounted read= -only (via nullfs), this fails. I've looked through Mk/*.mk trying to figur= e out how I can redirect this to another dir. Is PACKAGES the way to go? Wh= at if I don't want to keep packages around? >> >> Try set STAGEDIR=3D/somewhere/else/ in make.conf > > The staging dir is not the problem, that is set correctly: > stb@mirror:/usr/ports/net-p2p/btpd$ make -V STAGEDIR > /var/ports/work/net-p2p/btpd/stage > > Because of these make.conf settings: > ### Ports > DISTDIR?=3D /var/ports/distfiles > WRKDIRPREFIX?=3D /var/ports/work > WRKDIR?=3D ${WRKDIRPREFIX}${.CURDIR:S/${PORTSDIR}//} > > The problem is the package destination, which error message you can exami= ne in my original message. Ah sorry, I misread the question. Well, it shouldn't create packages unless you use "make package", you can set PACKAGES to move it from /usr/ports/packages. --=20 William Grzybowski ------------------------------------------ Curitiba/PR - Brasil