summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-09-20 14:12:14 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-09-20 14:12:14 +0000
commitcafc03b392a793ed452bbf8926a9d0c755fd3f0a (patch)
treedd4702643afff3464a7f652f71009d439385ce59 /usr.bin
parent72eafef24fde24e155edd658ae6e9193cad7126b (diff)
add a blurb to caveats about variable expansions to multiple values
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/pkg-config/pkg-config.113
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.bin/pkg-config/pkg-config.1 b/usr.bin/pkg-config/pkg-config.1
index 4fa47d6ff15..3a0bc2187ab 100644
--- a/usr.bin/pkg-config/pkg-config.1
+++ b/usr.bin/pkg-config/pkg-config.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg-config.1,v 1.23 2011/06/25 14:36:19 jasper Exp $
+.\" $OpenBSD: pkg-config.1,v 1.24 2011/09/20 14:12:13 jasper Exp $
.\"
.\" Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 25 2011 $
+.Dd $Mdocdate: September 20 2011 $
.Dt PKG-CONFIG 1
.Os
.Sh NAME
@@ -215,6 +215,15 @@ The
flag that can be encountered in Cflags is not treated differently from
.Fl I
in this implementation.
+.It Ev Variables
+Due to the way variables are retrieved and expanded, in this version of
+.Nm
+certain syntax that is valid in the original implementation is not
+allowed in this
+.Nm .
+For example storing requirements in a variable, and only using this
+variable in the Requires field is not allowed.
+Otherwise all the variable values can be treated as a (valid) package.
.It Ev Whitespace
.Nm
does not go to great lengths to try to fix whitespace abuse.