svn commit: r341284 - head/Mk

Alex Kozlov ak at FreeBSD.org
Sun Jan 26 20:48:59 UTC 2014


Author: ak
Date: Sun Jan 26 20:48:58 2014
New Revision: 341284
URL: http://svnweb.freebsd.org/changeset/ports/341284
QAT: https://qat.redports.org/buildarchive/r341284/

Log:
  - Add a developer warning if NO_STAGE is set
  
  Approved by:	portmgr (mat)

Modified:
  head/Mk/bsd.sanity.mk

Modified: head/Mk/bsd.sanity.mk
==============================================================================
--- head/Mk/bsd.sanity.mk	Sun Jan 26 20:43:55 2014	(r341283)
+++ head/Mk/bsd.sanity.mk	Sun Jan 26 20:48:58 2014	(r341284)
@@ -116,6 +116,12 @@ DEV_WARNING+=	"USE_TCL and USE_TK are de
 DEV_WARNING+=	"USE_SCONS=yes is deprecated, please use USES=scons"
 .endif
 
+# print warning if no reason given for NO_STAGE
+.if defined(NO_STAGE) && ${NO_STAGE:L} == yes
+DEV_WARNING+=	"NO_STAGE is deprecated, convert port to stage directory:"
+DEV_WARNING+=	"https://wiki.freebsd.org/action/diff/ports/StageDir"
+.endif
+
 .if !defined(NO_STAGE)
 .for a in 1 2 3 4 5 6 7 8 9 L N
 .if defined(MAN${a})


More information about the svn-ports-all mailing list