summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig>2006-05-16 22:18:17 +0000
committerrillig <rillig>2006-05-16 22:18:17 +0000
commite1046ab35f4325f0c42f9084e36672394a8e4d7f (patch)
treee6e9294d94abbb81537e945555bc7a110380e60d
parentc405159c32f9e2d77a32c66449a6a5b222d267ff (diff)
downloadpkgsrc-e1046ab35f4325f0c42f9084e36672394a8e4d7f.tar.gz
bsd.options.mk may set PKG_OPTIONS.
-rw-r--r--pkgtools/pkglint/files/doc/chap.types.xml6
-rw-r--r--pkgtools/pkglint/files/makevars.map4
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/pkglint/files/doc/chap.types.xml b/pkgtools/pkglint/files/doc/chap.types.xml
index 51f036d1411..28bc4284492 100644
--- a/pkgtools/pkglint/files/doc/chap.types.xml
+++ b/pkgtools/pkglint/files/doc/chap.types.xml
@@ -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 --git a/pkgtools/pkglint/files/makevars.map b/pkgtools/pkglint/files/makevars.map
index 29404402e87..780b313e22a 100644
--- a/pkgtools/pkglint/files/makevars.map
+++ b/pkgtools/pkglint/files/makevars.map
@@ -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_JVMS_ACCEPTED List of { blackdown-jdk13 jdk jdk14 kaffe sun-jdk13 sun-jdk14
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]