Tatsuki Makino wrote on 2023/10/31 17:57:
> Changes for /usr/local/etc/poudriere.d/make.conf
> The following block will be added so that the stage can also be placed in
> tmpfs.
>
> .if 1
> STAGEDIRPREFIX= ${LOCALBASE}/.stage
> STAGEDIR= ${STAGEDIRPREFIX}${.CURDIR}/${_WRKDIR}/stage
> _PORTS_DIRECTORIES+= ${STAGEDIRPREFIX}
> _USES_fetch+= 980:..stagedirprefix
> ${STAGEDIRPREFIX}/😈: ${STAGEDIRPREFIX}
> @${CHMOD} -R 1777 ${STAGEDIRPREFIX}
> @${TOUCH} ${TOUCH_FLAGS} ${.TARGET:Q}
> ..stagedirprefix: ${STAGEDIRPREFIX}/😈
> .endif
>
.NOTMAIN must be written in the source if the target is written in make.conf.
Therefore, the following correction is made.
.if 1
STAGEDIRPREFIX= ${LOCALBASE}/.stage
STAGEDIR= ${STAGEDIRPREFIX}${.CURDIR}/${_WRKDIR}/stage
_PORTS_DIRECTORIES+= ${STAGEDIRPREFIX}
_USES_fetch+= 980:..stagedirprefix
${STAGEDIRPREFIX}/😈: .NOTMAIN .PHONY ${STAGEDIRPREFIX}
@${CHMOD} -R 1777 ${STAGEDIRPREFIX}
@${TOUCH} ${TOUCH_FLAGS} ${.TARGET:Q}
..stagedirprefix: .NOTMAIN .PHONY ${STAGEDIRPREFIX}/😈
.endif
Regards.