Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2020 10:05:37 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553975 - head/Mk
Message-ID:  <202011031005.0A3A5b5e070662@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



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