svn commit: r553975 - head/Mk
Mateusz Piotrowski
0mp at FreeBSD.org
Tue Nov 3 10:05:38 UTC 2020
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.${PORTNAME}.${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
+# 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.
More information about the svn-ports-all
mailing list