On Sun, 1 Nov 2026 07:01:57 -0600 (CST) Stuart Henderson <[email protected]> wrote:
> CVSROOT: /cvs > Module name: ports > Changes by: [email protected] 2026/11/01 07:01:57 > > Modified files: > infrastructure/mk: bsd.port.mk > > Log message: > move _DT_WRKDIST before DISTNAME check, so that it can actually be > used > I've known _DT_WRKDIST to be inert for a while, but ports that combine DIST_TUPLE with other ways to fetch their main DISTFILES and then building in ${WRKDIR}/${DISTNAME} don't tolerate being overwritten by _DT_WRKDIST. That's part of the reason why my proposed diff would rather get rid of _DT_WRKDIST again [1]. I just tried building one of those ports, sysutils/py-tsk which combines DIST_TUPLE with the MODPY universe and it breaks with this commit and I can unbreak it with WRKDIST = ${WRKDIR}/${DISTNAME} Sorry, I don't think this is the right direction. Happy to be proven wrong, but I've tried this unsuccessfully before. [1] https://marc.info/?l=openbsd-ports&m=179221892747053&w=2
