summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2019-10-17 21:11:58 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2019-10-17 21:11:58 +0000
commita42cc3fdd08aadd31085af3303119722f7af814c (patch)
treea60c143bbcd4087a0c787b5f97546db3bc53509b
parentRSpec: Update to 3.9.0 (diff)
LICENSE check: Respect DISABLE_LICENSES.
-rw-r--r--Mk/bsd.sanity.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index 7323b30dfbfa..c139e865c714 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -110,7 +110,7 @@ DEV_ERROR+= "All LIB_DEPENDS should use the new format and start out with lib.
.if ${LICENSE:MBSD}
DEV_WARNING+= "LICENSE must not contain BSD, instead use BSD[234]CLAUSE"
.endif
-.else
+.elif !defined(DISABLE_LICENSES)
. if empty(USES:Mmetaport)
DEV_WARNING+= "Please set LICENSE for this port"
. endif