summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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