aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-12-14 14:04:59 +0800
committereadler <eadler@FreeBSD.org>2013-12-14 14:04:59 +0800
commite2904f20e95ead765d489a1126ae0e7a4e25450c (patch)
tree30589fb5d6054e8fd3df2b8433a608f2f0e27604 /Mk
parentca867eac03edda2a9518580a9ce19e1dba11550b (diff)
downloadfreebsd-ports-e2904f20e95ead765d489a1126ae0e7a4e25450c.tar.gz
freebsd-ports-e2904f20e95ead765d489a1126ae0e7a4e25450c.tar.zst
freebsd-ports-e2904f20e95ead765d489a1126ae0e7a4e25450c.zip
bsd.sanity.mk: add a warning not to use the BSD license
The 'BSD' license covered 3+ different licenses some of which were not OSI approved. Instead we now have 3 separate licenses. Approved by: portmgr (tabthorpe)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.sanity.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index a9dbfdc53643..24f7985758d2 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -139,3 +139,9 @@ DEV_ERROR+= "you cannot include bsd.port[.pre].mk twice"
.if defined(USE_DOS2UNIX)
DEV_WARNING+= "USE_DOS2UNIX is deprecated, please use USES=dos2unix"
.endif
+
+.if defined(LICENSE)
+.if ${LICENSE:MBSD}
+DEV_WARNING+= "LICENSE must not contain BSD, instead use BSD[234]CLAUSE"
+.endif
+.endif