svn commit: r327582 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Wed Sep 18 21:52:48 UTC 2013


Author: bapt
Date: Wed Sep 18 21:52:47 2013
New Revision: 327582
URL: http://svnweb.freebsd.org/changeset/ports/327582

Log:
  Do not issue warnings yet about WITHOUT_NLS and WITHOUT_X11 for the users has the switch has yes been fully performed
  While here fix printing of warnings

Modified:
  head/Mk/bsd.sanity.mk

Modified: head/Mk/bsd.sanity.mk
==============================================================================
--- head/Mk/bsd.sanity.mk	Wed Sep 18 21:52:04 2013	(r327581)
+++ head/Mk/bsd.sanity.mk	Wed Sep 18 21:52:47 2013	(r327582)
@@ -7,13 +7,13 @@
 DEV_WARNING+=	"USE_GMAKE is deprecated consider using USES=gmake"
 .endif
 
-.if defined(WITHOUT_NLS)
-WARNING+=	"WITHOUT_NLS is deprecated use NLS option instead"
-.endif
-
-.if defined(WITHOUT_X11)
-WARNING+=	"WITHOUT_X11 is deprecated use X11 option instead"
-.endif
+#.if defined(WITHOUT_NLS)
+#WARNING+=	"WITHOUT_NLS is deprecated use NLS option instead"
+#.endif
+#
+#.if defined(WITHOUT_X11)
+#WARNING+=	"WITHOUT_X11 is deprecated use X11 option instead"
+#.endif
 
 #.if !defined(LICENSE)
 #DEV_WARNING+=	"No license is defined consider adding one"
@@ -94,7 +94,7 @@ DEV_WARNING+=	"Please use the new format
 .if defined(WARNING)
 show-warnings:
 .for m in ${WARNING}
-	@${ECHO_MSG} "${WARNING}"
+	@${ECHO_MSG} "${m}"
 .endfor
 	@sleep 5
 


More information about the svn-ports-all mailing list