pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files In Makefile.common, the standar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59e286993518
branches:  trunk
changeset: 513787:59e286993518
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jun 03 07:10:25 2006 +0000

description:
In Makefile.common, the standard list variables may be set using "="
instead of only appending with "+=".

diffstat:

 pkgtools/pkglint/files/makevars.map |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r aa0cd1529ae5 -r 59e286993518 pkgtools/pkglint/files/makevars.map
--- a/pkgtools/pkglint/files/makevars.map       Sat Jun 03 07:06:23 2006 +0000
+++ b/pkgtools/pkglint/files/makevars.map       Sat Jun 03 07:10:25 2006 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index