aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-11-03 10:05:37 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-11-03 10:05:37 +0000
commiteb05e38ccc0d439c5b333b17593efb9e168dbfc9 (patch)
treeed887a3ef497ec5a17f26b72c92490b8a8d4308a /Mk/bsd.port.mk
parent2fa273d4dfd04ece7aaa37503b4c7ccbc26728b6 (diff)
downloadports-eb05e38ccc0d439c5b333b17593efb9e168dbfc9.tar.gz
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
Notes
Notes: svn path=/head/; revision=553975
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk4
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.