Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2023 15:03:27 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        ports@freebsd.org
Subject:   Re: We need to do something about build times
Message-ID:  <SI2PR01MB5036EB482A52ABB063CE8745FAA7A@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>
In-Reply-To: <SI2PR01MB5036733C3CF007ED8B62FA0EFAA0A@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>
References:  <ZTgXDSmpAq6lpT3f@fuz.su> <SI2PR01MB50364C673D217F06B3E8E711FAA0A@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <SI2PR01MB5036733C3CF007ED8B62FA0EFAA0A@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry for the repetition.
Please stop using the following section, as a terrible flaw exists in it.
Never use it.

Tatsuki Makino wrote on 2023/10/31 18:20:
> ${STAGEDIRPREFIX}/😈: .NOTMAIN .PHONY ${STAGEDIRPREFIX}
> 	@${CHMOD} -R 1777 ${STAGEDIRPREFIX}

The following will be the correct.

.if 1
STAGEDIRPREFIX=	${LOCALBASE}/.stage
STAGEDIR=	${STAGEDIRPREFIX}${.CURDIR}/${_WRKDIR}/stage
_PORTS_DIRECTORIES+=	${STAGEDIRPREFIX}
_USES_fetch+=	980:..stagedirprefix
${STAGEDIRPREFIX}/😈: .NOTMAIN .PHONY ${STAGEDIRPREFIX}
	@${CHMOD} 1777 ${STAGEDIRPREFIX}
	@${TOUCH} ${TOUCH_FLAGS} ${.TARGET:Q}
..stagedirprefix: .NOTMAIN .PHONY ${STAGEDIRPREFIX}/😈
.endif

😈 had become terribly powerful :)

Regards.




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