Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2018 10:28:56 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479382 - head/Mk
Message-ID:  <201809101028.w8AASuCd054848@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Sep 10 10:28:56 2018
New Revision: 479382
URL: https://svnweb.freebsd.org/changeset/ports/479382

Log:
  Add a DEV_WARNING when people set ONLY_FOR_ARCHS_REASON_<arch> for an
  <arch> that is supported.

Modified:
  head/Mk/bsd.sanity.mk   (contents, props changed)

Modified: head/Mk/bsd.sanity.mk
==============================================================================
--- head/Mk/bsd.sanity.mk	Mon Sep 10 09:51:00 2018	(r479381)
+++ head/Mk/bsd.sanity.mk	Mon Sep 10 10:28:56 2018	(r479382)
@@ -116,6 +116,12 @@ DEV_WARNING+=	"Please set LICENSE for this port"
 .  endif
 .endif
 
+.for _a in ${ONLY_FOR_ARCHS}
+.if defined(ONLY_FOR_ARCHS_REASON_${_a})
+DEV_WARNING+=	"ONLY_FOR_ARCHS_${_a} is defined and ${_a} is in ONLY_FOR_ARCHS, the message will never be used."
+.endif
+.endfor
+
 .if defined(USE_PYDISTUTILS) && ${USE_PYDISTUTILS} == "easy_install"
 DEV_ERROR+=	"USE_PYDISTUTILS=easy_install is no longer supported, please use USE_PYDISTUTILS=yes"
 .endif



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