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

next in thread | previous in thread | raw e-mail | index | archive | help

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,
>>=20
>> I've noticed that more and more ports are trying to build a package =
/usr/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 figure out how I can redirect this to another dir. Is PACKAGES =
the way to go? What if I don't want to keep packages around?
>=20
> 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 =
examine in my original message.


Stefan

--=20
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3429F9F1-F1DD-4A66-81D6-1C5A8FCE624D>