]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
METALOG, unless manually overwritten, is defined as ${DESTDIR}/${DISTDIR}/METALOG
authorBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 17 Aug 2018 21:19:18 +0000 (21:19 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 17 Aug 2018 21:19:18 +0000 (21:19 +0000)
commit49f1692a3b504b32efc2d3d92660131036757ed6
treeed5642fae37a0a96c8e4f9c1e9172f8e5d195c9e
parent3e5ba2e1874151201d78eb070b18f2300826457f
METALOG, unless manually overwritten, is defined as ${DESTDIR}/${DISTDIR}/METALOG

In the create-world-packages target we manually piece this together (unless
it is undefined), without the DISTDIR.  Normally DISTDIR is empty (unset) and
no one notices.  Now DISTDIR is a well known long-standing PORTS environment
variable and if that is set in the local environment the path to METALOG
is wrong as it no longer is ${DESTDIR}/METALOG.

Long-term we should start to avoid "publicly well known" names for global
variables, for now just piece ${DISTDIR} in as well.  This allows
create-world-packages to continue if DISTDIR is set in the env.
Makefile.inc1