Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 19:05:17 -0300
From:      William Grzybowski <william88@gmail.com>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: Staging and read-only /usr/ports
Message-ID:  <CAHtVNLOQ9-GnpNaXUdz1EtvA7-ETCdOuYtM2Tm_JgSQN1MkqTA@mail.gmail.com>
In-Reply-To: <3429F9F1-F1DD-4A66-81D6-1C5A8FCE624D@lassitu.de>
References:  <99A515E2-46D8-4EB4-9383-4100918E701C@lassitu.de> <CAHtVNLNhagROZD8A%2BL4Ax9RsGLC3JuEtoZWDJx14hU_6=KeSHQ@mail.gmail.com> <3429F9F1-F1DD-4A66-81D6-1C5A8FCE624D@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 26, 2013 at 6:57 PM, Stefan Bethke <stb@lassitu.de> wrote:
>
> Am 26.09.2013 um 23:54 schrieb William Grzybowski <william88@gmail.com>:
>
>> On Thu, Sep 26, 2013 at 6:52 PM, Stefan Bethke <stb@lassitu.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHtVNLOQ9-GnpNaXUdz1EtvA7-ETCdOuYtM2Tm_JgSQN1MkqTA>