Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Nov 2020 01:09:11 +0000
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        "John-Mark Gurney" <jmg@funkthat.com>
Cc:        current@FreeBSD.org, ports@FreeBSD.org, imp@freebsd.org
Subject:   Re: DISTDIR name collision...
Message-ID:  <7879A42C-460E-4AD3-8C45-BCABB9B8C38A@lists.zabbadoz.net>
In-Reply-To: <20201106001347.GY31099@funkthat.com>
References:  <20201106001347.GY31099@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6 Nov 2020, at 0:13, John-Mark Gurney wrote:

> I just discovered that we have a variable name colission between the
> FreeBSD base repo, and the ports tree.  DISTDIR is used by the ports
> repo for:
> # DISTDIR           - Where to search for and store copies of original 
> sources
>
> But DISTDIR is also used by FreeBSD base for (from bsd.own.mk):
> # DISTDIR       Change the tree where the file for a distribution
> #               gets installed (see /usr/src/release/Makefile). [not 
> set]
>
> except that it doesn't just get used in release/Makefile, it's used in
> the base Makefile.inc1 for a number of things that I'm not entirely 
> sure
> what it's for.
>
> Can someone figure out what we should do in this case?
>
> This was discovered because ezjail-admin sets DISTDIR for ports, but 
> it
> was breaking my -DNO_ROOT installworld by putting the METALOG in an
> incorrectly documented place (since fixed)...

See also:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232293



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7879A42C-460E-4AD3-8C45-BCABB9B8C38A>