diff options
author | mat <mat@FreeBSD.org> | 2018-09-10 18:28:56 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2018-09-10 18:28:56 +0800 |
commit | 15e666cb495de483e2364f3a4045789ef87e1a7e (patch) | |
tree | 9938942aaad2e5a3c442caf6478f85d365e6b55b /Mk | |
parent | 8f27183b0a1913973903fc7f38259dd0f620b9b8 (diff) | |
download | freebsd-ports-gnome-15e666cb495de483e2364f3a4045789ef87e1a7e.tar.gz freebsd-ports-gnome-15e666cb495de483e2364f3a4045789ef87e1a7e.tar.zst freebsd-ports-gnome-15e666cb495de483e2364f3a4045789ef87e1a7e.zip |
Add a DEV_WARNING when people set ONLY_FOR_ARCHS_REASON_<arch> for an
<arch> that is supported.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.sanity.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk index 8707b0bb0d74..b8da6ff6cc59 100644 --- a/Mk/bsd.sanity.mk +++ b/Mk/bsd.sanity.mk @@ -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 |