Subject: ACCEPTABLE_LICENSES=all ?
To: None <tech-pkg@netbsd.org>
From: David Brownlee <abs@formula1.com>
List: tech-pkg
Date: 01/02/2002 10:34:16
	Does anyone have any objections to disallowing
	ACCEPTABLE_LICENSES=all ?

	btw - can anyone find a better way to make the test than the _ALL
	sludge below?


diff -u -B -r1.886 bsd.pkg.mk
--- bsd.pkg.mk	2001/12/23 19:32:15	1.886
+++ bsd.pkg.mk	2002/01/02 10:33:06
@@ -1029,8 +1029,9 @@

 .  if defined(LICENSE)
 .    ifdef ACCEPTABLE_LICENSES
+_ALL=all
 .      for _lic in ${ACCEPTABLE_LICENSES}
-.        if ${LICENSE} == "${_lic}"
+.        if (${LICENSE} == "${_lic}") || (${_ALL} == "${_lic}")
 _ACCEPTABLE=	yes
 .        endif	# LICENSE == _lic
 .      endfor	# _lic

-- 
		David/absolute		abs@formula1.com