pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files bsd.options.mk may set PKG_OPTI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b657b4c14bbf
branches:  trunk
changeset: 512923:b657b4c14bbf
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue May 16 22:18:17 2006 +0000

description:
bsd.options.mk may set PKG_OPTIONS.

diffstat:

 pkgtools/pkglint/files/doc/chap.types.xml |  6 ++++--
 pkgtools/pkglint/files/makevars.map       |  4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 0ae0cc48adca -r b657b4c14bbf pkgtools/pkglint/files/doc/chap.types.xml
--- a/pkgtools/pkglint/files/doc/chap.types.xml Tue May 16 22:17:46 2006 +0000
+++ b/pkgtools/pkglint/files/doc/chap.types.xml Tue May 16 22:18:17 2006 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: chap.types.xml,v 1.9 2006/05/11 09:05:33 rillig Exp $ -->
+<!-- $NetBSD: chap.types.xml,v 1.10 2006/05/16 22:18:17 rillig Exp $ -->
 
 <chapter id="types">
 <title>The &pkglint; type system</title>
@@ -182,7 +182,9 @@
        For example, the <varname>OPSYS</varname> variable should only
        be compared to well-known operating system names. The
        <varname>exists()</varname> function should only be called on
-       pathnames.</listitem>
+       pathnames. The <varname>defined()</varname> operator only checks
+       if the variable is defined and does not access its
+       value.</listitem>
 
        </itemizedlist>
 
diff -r 0ae0cc48adca -r b657b4c14bbf pkgtools/pkglint/files/makevars.map
--- a/pkgtools/pkglint/files/makevars.map       Tue May 16 22:17:46 2006 +0000
+++ b/pkgtools/pkglint/files/makevars.map       Tue May 16 22:18:17 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: makevars.map,v 1.91 2006/05/11 18:26:51 rillig Exp $
+# $NetBSD: makevars.map,v 1.92 2006/05/16 22:18:17 rillig Exp $
 #
 
 # This file contains the guessed type of some variables, according to
@@ -393,7 +393,7 @@
 PKG_JVM_DEFAULT                Unchecked []
 PKG_LEGACY_OPTIONS     List of Option
 PKG_LIBTOOL            Pathname
-PKG_OPTIONS            List of Option [o:,m:,c:]
+PKG_OPTIONS            List of Option [o:,m:,c:,bsd.options.mk:s]
 PKG_OPTIONS_DEPRECATED_WARNINGS        List of ShellWord
 PKG_OPTIONS_GROUP      List of Option [o:s,m:s]
 PKG_OPTIONS_LEGACY_OPTS        List of Unchecked [m:a,c:a,o:a]



Home | Main Index | Thread Index | Old Index