svn commit: r553975 - head/Mk
Cy Schubert
Cy.Schubert at cschubert.com
Tue Nov 3 14:34:00 UTC 2020
In message <202011031005.0A3A5b5e070662 at repo.freebsd.org>, Mateusz
Piotrowski w
rites:
> Author: 0mp
> Date: Tue Nov 3 10:05:37 2020
> New Revision: 553975
> URL: https://svnweb.freebsd.org/changeset/ports/553975
>
> Log:
> Discourage users from using DO_NADA
>
> It should not be used to make targets do nothing. In such cases,
> it's most likely the ports infrastructure which requires fixing.
>
> Suggested by: bapt
> Approved by: portmgr (bapt)
> Differential Revision: https://reviews.freebsd.org/D27072
>
> Modified:
> head/Mk/bsd.port.mk
>
> Modified: head/Mk/bsd.port.mk
> =============================================================================
> =
> --- head/Mk/bsd.port.mk Tue Nov 3 09:27:49 2020 (r553974)
> +++ head/Mk/bsd.port.mk Tue Nov 3 10:05:37 2020 (r553975)
> @@ -2040,6 +2040,10 @@ STAGE_COOKIE?= ${WRKDIR}/.stage_done.${PORTNAM
> E}.${PR
>
> # How to do nothing. Override if you, for some strange reason, would rather
> # do something.
> +# In general, however, DO_NADA is a relict of the past in the ports
Is the word relict probably a typo? Though the words have similar meaning,
relic is probably more appropriate.
> +# infrastructure, and most of its usage has been removed. If you need to def
> ine
> +# a target with DO_NADA, then there is a high chance that the ports
> +# infrastructure should be fixed instead.
> DO_NADA?= ${TRUE}
>
> # Use this as the first operand to always build dependency.
>
--
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX: <cy at FreeBSD.org> Web: https://FreeBSD.org
NTP: <cy at nwtime.org> Web: https://nwtime.org
The need of the many outweighs the greed of the few.
More information about the svn-ports-all
mailing list