Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Oct 2025 11:01:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkgbase@FreeBSD.org
Subject:   [Bug 290010] stable/15 make packages TARGET failure due to etcupdate.8.gz missing
Message-ID:  <bug-290010-36141-MopzUvt4s7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-290010-36141@https.bugs.freebsd.org/bugzilla/>

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

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

--- Comment #13 from ivy@FreeBSD.org ---
the problem here is that DISTDIR is used in both src and ports with a
completely different meaning.  you can't have DISTDIR set when building src
packages, or the build will fail (it's used for some non-pkgbase targets).

as a workaround, you can try something like this in /etc/make.conf:

.if ${PWD:M/usr/ports*}
DISTDIR=/var/src/distfiles
.endif

a proper fix here probably requires renaming one or both variables.  neither is
documented in make.conf(5), so i'm not sure which is more widely used.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290010-36141-MopzUvt4s7>