summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2006-06-03 07:10:25 +0000
committerrillig <rillig>2006-06-03 07:10:25 +0000
commit1e9499494c0e4e7ed8583748ed0657ae05e754ca (patch)
treed6bc7d5174f654e973f92f2384afbd8ed64cfdab /pkgtools
parent9ca6d8b6f947d4ec56a10a7f45862d57dad861f9 (diff)
downloadpkgsrc-1e9499494c0e4e7ed8583748ed0657ae05e754ca.tar.gz
In Makefile.common, the standard list variables may be set using "="
instead of only appending with "+=".
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/makevars.map7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/makevars.map b/pkgtools/pkglint/files/makevars.map
index 9277d49f919..15930be37a2 100644
--- a/pkgtools/pkglint/files/makevars.map
+++ b/pkgtools/pkglint/files/makevars.map
@@ -1,4 +1,4 @@
-# $NetBSD: makevars.map,v 1.102 2006/06/03 07:06:23 rillig Exp $
+# $NetBSD: makevars.map,v 1.103 2006/06/03 07:10:25 rillig Exp $
#
# This file contains the guessed type of some variables, according to
@@ -26,7 +26,10 @@
# excludes buildlink3.mk and builtin.mk, since they are very special-
# purpose. Because at the beginning, all lists are empty, in the
# primary Makefile a direct assignment may be used instead of appending.
-acl list = [m:as, c:a, b:, builtin.mk:, *.mk:a]
+# Since Makefile.common files are usually used by packages that know
+# what they are doing, they may set variables directly, too. This rule
+# can be removed to show a lot of possible problems in pkgsrc.
+acl list = [m:as, c:as, b:, builtin.mk:, *.mk:a]
# A simple value is similar to $list above, just without allowing to
# append to it.