[Bug 290010] stable/15 make packages TARGET failure due to etcupdate.8.gz missing
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Oct 2025 11:01:01 UTC
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.