diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2020-11-03 10:05:37 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2020-11-03 10:05:37 +0000 |
commit | eb05e38ccc0d439c5b333b17593efb9e168dbfc9 (patch) | |
tree | ed887a3ef497ec5a17f26b72c92490b8a8d4308a /Mk | |
parent | 2fa273d4dfd04ece7aaa37503b4c7ccbc26728b6 (diff) | |
download | freebsd-ports-eb05e38ccc0d439c5b333b17593efb9e168dbfc9.zip |
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
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index b0d7ccb2b344..b0c39fdaedad 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -2040,6 +2040,10 @@ STAGE_COOKIE?= ${WRKDIR}/.stage_done.${PORTNAME}.${PREFIX:S/\//_/g} # 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 +# infrastructure, and most of its usage has been removed. If you need to define +# 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. |