2016-11-16 04:52:07 +00:00
|
|
|
.\" Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016 pkgconf authors (see AUTHORS).
|
2013-12-27 11:13:55 +00:00
|
|
|
.\"
|
|
|
|
.\" Permission to use, copy, modify, and/or distribute this software for any
|
|
|
|
.\" purpose with or without fee is hereby granted, provided that the above
|
|
|
|
.\" copyright notice and this permission notice appear in all copies.
|
|
|
|
.\"
|
|
|
|
.\" This software is provided 'as is' and without any warranty, express or
|
|
|
|
.\" implied. In no event shall the authors be liable for any damages arising
|
|
|
|
.\" from the use of this software.
|
2016-11-16 04:52:07 +00:00
|
|
|
.Dd November 15, 2016
|
2015-02-02 23:03:33 +00:00
|
|
|
.Dt PKGCONF 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm pkgconf
|
|
|
|
.Nd a system for configuring build dependency information
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Ar options
|
|
|
|
.Op Ar list of modules
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
is a program which helps to configure compiler and linker flags for
|
man: Silence mandoc warnings.
man -Tlint pkgconf
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
man: pkgconf.1:23:24: WARNING: new sentence, new line
man: pkgconf.1:42:15: WARNING: new sentence, new line
man: pkgconf.1:44:73: WARNING: new sentence, new line
man: pkgconf.1:53:63: WARNING: new sentence, new line
man: pkgconf.1:60:58: WARNING: new sentence, new line
man: pkgconf.1:69:66: WARNING: new sentence, new line
man: pkgconf.1:85:56: WARNING: new sentence, new line
man: pkgconf.1:153:7: WARNING: new sentence, new line
man: pkgconf.1:202:43: WARNING: new sentence, new line
https://man.openbsd.org/mandoc.1
2018-04-08 21:22:42 +00:00
|
|
|
development libraries.
|
|
|
|
This allows build systems to detect other dependencies and use them with the
|
|
|
|
system toolchain.
|
2015-02-02 23:03:33 +00:00
|
|
|
.Sh GENERAL OPTIONS
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Fl -version
|
2013-12-27 11:13:55 +00:00
|
|
|
Display the supported pkg-config version and exit.
|
2015-02-02 23:03:33 +00:00
|
|
|
.It Fl -atleast-pkgconfig-version Ns = Ns Ar VERSION
|
2013-12-27 11:13:55 +00:00
|
|
|
Exit with error if we do not support the requested pkg-config version.
|
2015-02-02 23:03:33 +00:00
|
|
|
.It Fl -errors-to-stdout
|
2013-12-27 11:13:55 +00:00
|
|
|
Print all errors on the main output stream instead of the error output stream.
|
2015-02-02 23:03:33 +00:00
|
|
|
.It Fl -silence-errors
|
2013-12-27 11:13:55 +00:00
|
|
|
Do not display any errors at all.
|
2015-02-02 23:03:33 +00:00
|
|
|
.It Fl -list-all
|
|
|
|
Walk all directories listed in the
|
|
|
|
.Va PKG_CONFIG_PATH
|
|
|
|
environmental variable and display information on packages which have registered
|
|
|
|
information there.
|
|
|
|
.It Fl -simulate
|
2013-12-27 11:13:55 +00:00
|
|
|
Simulates resolving a dependency graph based on the requested modules on the
|
man: Silence mandoc warnings.
man -Tlint pkgconf
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
man: pkgconf.1:23:24: WARNING: new sentence, new line
man: pkgconf.1:42:15: WARNING: new sentence, new line
man: pkgconf.1:44:73: WARNING: new sentence, new line
man: pkgconf.1:53:63: WARNING: new sentence, new line
man: pkgconf.1:60:58: WARNING: new sentence, new line
man: pkgconf.1:69:66: WARNING: new sentence, new line
man: pkgconf.1:85:56: WARNING: new sentence, new line
man: pkgconf.1:153:7: WARNING: new sentence, new line
man: pkgconf.1:202:43: WARNING: new sentence, new line
https://man.openbsd.org/mandoc.1
2018-04-08 21:22:42 +00:00
|
|
|
command line.
|
|
|
|
Dumps a series of trees denoting pkgconf's resolver state.
|
2015-02-02 23:03:33 +00:00
|
|
|
.It Fl -no-cache
|
man: Silence mandoc warnings.
man -Tlint pkgconf
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
man: pkgconf.1:23:24: WARNING: new sentence, new line
man: pkgconf.1:42:15: WARNING: new sentence, new line
man: pkgconf.1:44:73: WARNING: new sentence, new line
man: pkgconf.1:53:63: WARNING: new sentence, new line
man: pkgconf.1:60:58: WARNING: new sentence, new line
man: pkgconf.1:69:66: WARNING: new sentence, new line
man: pkgconf.1:85:56: WARNING: new sentence, new line
man: pkgconf.1:153:7: WARNING: new sentence, new line
man: pkgconf.1:202:43: WARNING: new sentence, new line
https://man.openbsd.org/mandoc.1
2018-04-08 21:22:42 +00:00
|
|
|
Skip caching packages when they are loaded into the internal resolver.
|
|
|
|
This may result in an alternate dependency graph being computed.
|
2015-02-02 23:03:33 +00:00
|
|
|
.It Fl -ignore-conflicts
|
2015-02-02 23:08:21 +00:00
|
|
|
Ignore
|
|
|
|
.Sq Conflicts
|
|
|
|
rules in modules.
|
2015-02-02 23:03:33 +00:00
|
|
|
.It Fl -env-only
|
2013-12-27 11:13:55 +00:00
|
|
|
Learn about pkgconf's configuration strictly from environmental variables.
|
2015-02-02 23:03:33 +00:00
|
|
|
.It Fl -maximum-traverse-depth Ns = Ns Ar DEPTH
|
man: Silence mandoc warnings.
man -Tlint pkgconf
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
man: pkgconf.1:23:24: WARNING: new sentence, new line
man: pkgconf.1:42:15: WARNING: new sentence, new line
man: pkgconf.1:44:73: WARNING: new sentence, new line
man: pkgconf.1:53:63: WARNING: new sentence, new line
man: pkgconf.1:60:58: WARNING: new sentence, new line
man: pkgconf.1:69:66: WARNING: new sentence, new line
man: pkgconf.1:85:56: WARNING: new sentence, new line
man: pkgconf.1:153:7: WARNING: new sentence, new line
man: pkgconf.1:202:43: WARNING: new sentence, new line
https://man.openbsd.org/mandoc.1
2018-04-08 21:22:42 +00:00
|
|
|
Impose a limit on the allowed depth in the dependency graph.
|
|
|
|
For example, a depth of 2 will restrict the resolver from acting on child
|
|
|
|
dependencies of modules added to the resolver's solution.
|
2015-02-02 23:03:33 +00:00
|
|
|
.It Fl -static
|
|
|
|
Compute a deeper dependency graph and use compiler/linker flags intended for
|
|
|
|
static linking.
|
2016-11-16 04:52:07 +00:00
|
|
|
.It Fl -pure
|
man: Silence mandoc warnings.
man -Tlint pkgconf
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
man: pkgconf.1:23:24: WARNING: new sentence, new line
man: pkgconf.1:42:15: WARNING: new sentence, new line
man: pkgconf.1:44:73: WARNING: new sentence, new line
man: pkgconf.1:53:63: WARNING: new sentence, new line
man: pkgconf.1:60:58: WARNING: new sentence, new line
man: pkgconf.1:69:66: WARNING: new sentence, new line
man: pkgconf.1:85:56: WARNING: new sentence, new line
man: pkgconf.1:153:7: WARNING: new sentence, new line
man: pkgconf.1:202:43: WARNING: new sentence, new line
https://man.openbsd.org/mandoc.1
2018-04-08 21:22:42 +00:00
|
|
|
Treats the computed dependency graph as if it were pure.
|
|
|
|
This is mainly intended for use with the
|
2016-11-16 04:52:07 +00:00
|
|
|
.Fl -static
|
|
|
|
flag.
|
|
|
|
.It Fl -no-provides
|
|
|
|
Ignore
|
|
|
|
.Sq Provides
|
|
|
|
rules in modules when resolving dependencies.
|
2017-01-18 17:36:52 +00:00
|
|
|
.It Fl -with-path Ns = Ns Ar PATH
|
man: Silence mandoc warnings.
man -Tlint pkgconf
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
man: pkgconf.1:23:24: WARNING: new sentence, new line
man: pkgconf.1:42:15: WARNING: new sentence, new line
man: pkgconf.1:44:73: WARNING: new sentence, new line
man: pkgconf.1:53:63: WARNING: new sentence, new line
man: pkgconf.1:60:58: WARNING: new sentence, new line
man: pkgconf.1:69:66: WARNING: new sentence, new line
man: pkgconf.1:85:56: WARNING: new sentence, new line
man: pkgconf.1:153:7: WARNING: new sentence, new line
man: pkgconf.1:202:43: WARNING: new sentence, new line
https://man.openbsd.org/mandoc.1
2018-04-08 21:22:42 +00:00
|
|
|
Adds a new module search path to pkgconf's dependency resolver.
|
|
|
|
Paths added in this way are given preference before other paths.
|
2017-01-21 00:20:41 +00:00
|
|
|
.It Fl -define-prefix
|
|
|
|
Attempts to determine the prefix variable to use for CFLAGS and LIBS entry relocations.
|
|
|
|
This is mainly useful for platforms where framework SDKs are relocatable, such as Windows.
|
|
|
|
.It Fl -dont-define-prefix
|
|
|
|
Disables the
|
|
|
|
.Sq define-prefix
|
|
|
|
feature.
|
|
|
|
.It Fl -prefix-variable Ns = Ns Ar VARIABLE
|
|
|
|
Sets the
|
|
|
|
.Sq prefix
|
|
|
|
variable used by the
|
|
|
|
.Sq define-prefix
|
|
|
|
feature.
|
|
|
|
.It Fl -relocate Ns = Ns Ar PATH
|
man: Silence mandoc warnings.
man -Tlint pkgconf
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
man: pkgconf.1:23:24: WARNING: new sentence, new line
man: pkgconf.1:42:15: WARNING: new sentence, new line
man: pkgconf.1:44:73: WARNING: new sentence, new line
man: pkgconf.1:53:63: WARNING: new sentence, new line
man: pkgconf.1:60:58: WARNING: new sentence, new line
man: pkgconf.1:69:66: WARNING: new sentence, new line
man: pkgconf.1:85:56: WARNING: new sentence, new line
man: pkgconf.1:153:7: WARNING: new sentence, new line
man: pkgconf.1:202:43: WARNING: new sentence, new line
https://man.openbsd.org/mandoc.1
2018-04-08 21:22:42 +00:00
|
|
|
Relocates a path using the pkgconf_path_relocate API.
|
|
|
|
This is mainly used by the testsuite to provide a guaranteed interface
|
|
|
|
to the system's path relocation backend.
|
2017-02-03 19:29:49 +00:00
|
|
|
.It Fl -dont-relocate-paths
|
|
|
|
Disables the path relocation feature.
|
2015-02-02 23:03:33 +00:00
|
|
|
.El
|
|
|
|
.Sh MODULE-SPECIFIC OPTIONS
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Fl -atleast-version Ns = Ns Ar VERSION
|
2013-12-27 11:13:55 +00:00
|
|
|
Exit with error if a module's version is less than the specified version.
|
2015-02-02 23:03:33 +00:00
|
|
|
.It Fl -exact-version Ns = Ns Ar VERSION
|
2013-12-27 11:13:55 +00:00
|
|
|
Exit with error if a module's version is not exactly the specified version.
|
2015-02-02 23:03:33 +00:00
|
|
|
.It Fl -max-version Ns = Ns Ar VERSION
|
2013-12-27 11:13:55 +00:00
|
|
|
Exit with error if a module's version is greater than the specified version.
|
2015-02-02 23:03:33 +00:00
|
|
|
.It Fl -exists
|
2018-03-06 19:37:43 +00:00
|
|
|
Exit with a non-zero result if the dependency resolver was unable to find all of
|
2015-02-02 23:03:33 +00:00
|
|
|
the requested modules.
|
|
|
|
.It Fl -uninstalled
|
|
|
|
Exit with a non-zero result if the dependency resolver uses an
|
|
|
|
.Sq uninstalled
|
|
|
|
module as part of it's solution.
|
|
|
|
.It Fl -no-uninstalled
|
|
|
|
Forbids the dependency resolver from considering 'uninstalled' modules as part
|
|
|
|
of a solution.
|
|
|
|
.El
|
|
|
|
.Sh QUERY-SPECIFIC OPTIONS
|
|
|
|
.Bl -tag -width indent
|
man: Silence more mandoc warnings
man -Tlint pkgconf
skipping no-space macro
(mdoc) An input line begins with an Ns macro, or the next argument
after an Ns macro is an isolated closing delimiter. The macro is
ignored.
unusual Xr order
(mdoc) In the SEE ALSO section, an Xr macro with a lower section
number follows one with a higher number, or two Xr macros referring
to the same section are out of alphabetical order.
man: pkgconf.1:114:16: WARNING: skipping no-space macro
man: pkgconf.1:114:39: WARNING: skipping no-space macro
man: pkgconf.1:119:14: WARNING: skipping no-space macro
man: pkgconf.1:119:35: WARNING: skipping no-space macro
man: pkgconf.1:119:56: WARNING: skipping no-space macro
man: pkgconf.1:128:28: WARNING: skipping no-space macro
man: pkgconf.1:147:24: WARNING: skipping no-space macro
man: pkgconf.1:217:2: WARNING: unusual Xr order: pc(5) after pkg.m4(7)
man -Tlint pc
whitespace at end of input line
(mdoc, man, roff) Whitespace at the end of input lines is almost
never semantically significant -- but in the odd case where it
might be, it is extremely confusing when reviewing and maintaining
documents.
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
missing -width in -tag list, using 8n
(mdoc) Every Bl macro having the -tag argument requires -width, too.
man: pc.5:17:76: STYLE: whitespace at end of input line
man: pc.5:18:50: WARNING: new sentence, new line
man: pc.5:49:67: WARNING: new sentence, new line
man: pc.5:87:38: WARNING: new sentence, new line
man: pc.5:90:27: WARNING: new sentence, new line
man: pc.5:113:66: WARNING: new sentence, new line
man: pc.5:117:61: WARNING: new sentence, new line
man: pc.5:123:49: WARNING: new sentence, new line
man: pc.5:56:2: WARNING: missing -width in -tag list, using 6n: Bl -tag
man: pc.5:80:2: WARNING: missing -width in -tag list, using 6n: Bl -tag
https://man.openbsd.org/mandoc.1
2018-04-09 16:23:46 +00:00
|
|
|
.It Fl -cflags , Fl -cflags-only-I , Fl -cflags-only-other
|
2015-02-02 23:03:33 +00:00
|
|
|
Display either all CFLAGS, only
|
|
|
|
.Fl I
|
|
|
|
CFLAGS or only CFLAGS that are not
|
|
|
|
.Fl I .
|
man: Silence more mandoc warnings
man -Tlint pkgconf
skipping no-space macro
(mdoc) An input line begins with an Ns macro, or the next argument
after an Ns macro is an isolated closing delimiter. The macro is
ignored.
unusual Xr order
(mdoc) In the SEE ALSO section, an Xr macro with a lower section
number follows one with a higher number, or two Xr macros referring
to the same section are out of alphabetical order.
man: pkgconf.1:114:16: WARNING: skipping no-space macro
man: pkgconf.1:114:39: WARNING: skipping no-space macro
man: pkgconf.1:119:14: WARNING: skipping no-space macro
man: pkgconf.1:119:35: WARNING: skipping no-space macro
man: pkgconf.1:119:56: WARNING: skipping no-space macro
man: pkgconf.1:128:28: WARNING: skipping no-space macro
man: pkgconf.1:147:24: WARNING: skipping no-space macro
man: pkgconf.1:217:2: WARNING: unusual Xr order: pc(5) after pkg.m4(7)
man -Tlint pc
whitespace at end of input line
(mdoc, man, roff) Whitespace at the end of input lines is almost
never semantically significant -- but in the odd case where it
might be, it is extremely confusing when reviewing and maintaining
documents.
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
missing -width in -tag list, using 8n
(mdoc) Every Bl macro having the -tag argument requires -width, too.
man: pc.5:17:76: STYLE: whitespace at end of input line
man: pc.5:18:50: WARNING: new sentence, new line
man: pc.5:49:67: WARNING: new sentence, new line
man: pc.5:87:38: WARNING: new sentence, new line
man: pc.5:90:27: WARNING: new sentence, new line
man: pc.5:113:66: WARNING: new sentence, new line
man: pc.5:117:61: WARNING: new sentence, new line
man: pc.5:123:49: WARNING: new sentence, new line
man: pc.5:56:2: WARNING: missing -width in -tag list, using 6n: Bl -tag
man: pc.5:80:2: WARNING: missing -width in -tag list, using 6n: Bl -tag
https://man.openbsd.org/mandoc.1
2018-04-09 16:23:46 +00:00
|
|
|
.It Fl -libs , Fl -libs-only-L , Fl -libs-only-l , Fl -libs-only-other
|
2015-02-02 23:03:33 +00:00
|
|
|
Display either all linker flags, only
|
|
|
|
.Fl L
|
|
|
|
linker flags, only
|
|
|
|
.Fl l
|
|
|
|
linker flags or only linker flags that are not
|
|
|
|
.Fl L
|
|
|
|
or
|
|
|
|
.Fl l .
|
man: Silence more mandoc warnings
man -Tlint pkgconf
skipping no-space macro
(mdoc) An input line begins with an Ns macro, or the next argument
after an Ns macro is an isolated closing delimiter. The macro is
ignored.
unusual Xr order
(mdoc) In the SEE ALSO section, an Xr macro with a lower section
number follows one with a higher number, or two Xr macros referring
to the same section are out of alphabetical order.
man: pkgconf.1:114:16: WARNING: skipping no-space macro
man: pkgconf.1:114:39: WARNING: skipping no-space macro
man: pkgconf.1:119:14: WARNING: skipping no-space macro
man: pkgconf.1:119:35: WARNING: skipping no-space macro
man: pkgconf.1:119:56: WARNING: skipping no-space macro
man: pkgconf.1:128:28: WARNING: skipping no-space macro
man: pkgconf.1:147:24: WARNING: skipping no-space macro
man: pkgconf.1:217:2: WARNING: unusual Xr order: pc(5) after pkg.m4(7)
man -Tlint pc
whitespace at end of input line
(mdoc, man, roff) Whitespace at the end of input lines is almost
never semantically significant -- but in the odd case where it
might be, it is extremely confusing when reviewing and maintaining
documents.
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
missing -width in -tag list, using 8n
(mdoc) Every Bl macro having the -tag argument requires -width, too.
man: pc.5:17:76: STYLE: whitespace at end of input line
man: pc.5:18:50: WARNING: new sentence, new line
man: pc.5:49:67: WARNING: new sentence, new line
man: pc.5:87:38: WARNING: new sentence, new line
man: pc.5:90:27: WARNING: new sentence, new line
man: pc.5:113:66: WARNING: new sentence, new line
man: pc.5:117:61: WARNING: new sentence, new line
man: pc.5:123:49: WARNING: new sentence, new line
man: pc.5:56:2: WARNING: missing -width in -tag list, using 6n: Bl -tag
man: pc.5:80:2: WARNING: missing -width in -tag list, using 6n: Bl -tag
https://man.openbsd.org/mandoc.1
2018-04-09 16:23:46 +00:00
|
|
|
.It Fl -keep-system-cflags , Fl -keep-system-libs
|
2015-02-02 23:03:33 +00:00
|
|
|
Keep CFLAGS or linker flag fragments that would be filtered due to being
|
|
|
|
included by default in the compiler.
|
|
|
|
.It Fl -define-variable Ns = Ns Ar VARNAME Ns = Ns Ar VALUE
|
|
|
|
Define
|
|
|
|
.Va VARNAME
|
|
|
|
as
|
|
|
|
.Va VALUE .
|
|
|
|
Variables are used in query output, and some modules' results may change based
|
|
|
|
on the presence of a variable definition.
|
|
|
|
.It Fl -print-variables
|
2013-12-27 11:13:55 +00:00
|
|
|
Print all seen variables for a module to the output channel.
|
2016-11-16 04:52:07 +00:00
|
|
|
.It Fl -print-provides
|
|
|
|
Print all relevant
|
|
|
|
.Sq Provides
|
|
|
|
entries for a module to the output channel.
|
2015-02-02 23:03:33 +00:00
|
|
|
.It Fl -variable Ns = Ns Ar VARNAME
|
|
|
|
Print the value of
|
|
|
|
.Va VARNAME .
|
man: Silence more mandoc warnings
man -Tlint pkgconf
skipping no-space macro
(mdoc) An input line begins with an Ns macro, or the next argument
after an Ns macro is an isolated closing delimiter. The macro is
ignored.
unusual Xr order
(mdoc) In the SEE ALSO section, an Xr macro with a lower section
number follows one with a higher number, or two Xr macros referring
to the same section are out of alphabetical order.
man: pkgconf.1:114:16: WARNING: skipping no-space macro
man: pkgconf.1:114:39: WARNING: skipping no-space macro
man: pkgconf.1:119:14: WARNING: skipping no-space macro
man: pkgconf.1:119:35: WARNING: skipping no-space macro
man: pkgconf.1:119:56: WARNING: skipping no-space macro
man: pkgconf.1:128:28: WARNING: skipping no-space macro
man: pkgconf.1:147:24: WARNING: skipping no-space macro
man: pkgconf.1:217:2: WARNING: unusual Xr order: pc(5) after pkg.m4(7)
man -Tlint pc
whitespace at end of input line
(mdoc, man, roff) Whitespace at the end of input lines is almost
never semantically significant -- but in the odd case where it
might be, it is extremely confusing when reviewing and maintaining
documents.
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
missing -width in -tag list, using 8n
(mdoc) Every Bl macro having the -tag argument requires -width, too.
man: pc.5:17:76: STYLE: whitespace at end of input line
man: pc.5:18:50: WARNING: new sentence, new line
man: pc.5:49:67: WARNING: new sentence, new line
man: pc.5:87:38: WARNING: new sentence, new line
man: pc.5:90:27: WARNING: new sentence, new line
man: pc.5:113:66: WARNING: new sentence, new line
man: pc.5:117:61: WARNING: new sentence, new line
man: pc.5:123:49: WARNING: new sentence, new line
man: pc.5:56:2: WARNING: missing -width in -tag list, using 6n: Bl -tag
man: pc.5:80:2: WARNING: missing -width in -tag list, using 6n: Bl -tag
https://man.openbsd.org/mandoc.1
2018-04-09 16:23:46 +00:00
|
|
|
.It Fl -print-requires , Fl -print-requires-private
|
2015-02-02 23:03:33 +00:00
|
|
|
Print the modules included in either the
|
|
|
|
.Va Requires
|
|
|
|
field or the
|
|
|
|
.Va Requires.private
|
|
|
|
field.
|
|
|
|
.It Fl -digraph
|
|
|
|
Dump the dependency resolver's solution as a graphviz
|
|
|
|
.Sq dot
|
man: Silence mandoc warnings.
man -Tlint pkgconf
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
man: pkgconf.1:23:24: WARNING: new sentence, new line
man: pkgconf.1:42:15: WARNING: new sentence, new line
man: pkgconf.1:44:73: WARNING: new sentence, new line
man: pkgconf.1:53:63: WARNING: new sentence, new line
man: pkgconf.1:60:58: WARNING: new sentence, new line
man: pkgconf.1:69:66: WARNING: new sentence, new line
man: pkgconf.1:85:56: WARNING: new sentence, new line
man: pkgconf.1:153:7: WARNING: new sentence, new line
man: pkgconf.1:202:43: WARNING: new sentence, new line
https://man.openbsd.org/mandoc.1
2018-04-08 21:22:42 +00:00
|
|
|
file.
|
|
|
|
This can be used with graphviz to visualize module interdependencies.
|
2017-01-07 09:02:10 +00:00
|
|
|
.It Fl -path
|
|
|
|
Display the filenames of the
|
|
|
|
.Sq .pc
|
|
|
|
files used by the dependency resolver for a given dependency set.
|
2017-12-06 23:45:17 +00:00
|
|
|
.It Fl -env Ns = Ns Ar VARNAME
|
|
|
|
Print the requested values as variable declarations in a similar format as the
|
|
|
|
.Xr env 1
|
|
|
|
command.
|
2018-02-28 19:00:53 +00:00
|
|
|
.It Fl -fragment-filter Ns = Ns Ar TYPES
|
|
|
|
Filter the fragment lists for the specified types.
|
2015-02-02 23:03:33 +00:00
|
|
|
.El
|
2015-02-02 23:17:03 +00:00
|
|
|
.Sh ENVIRONMENT
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Va PKG_CONFIG_PATH
|
2016-11-16 04:52:07 +00:00
|
|
|
List of secondary directories where
|
|
|
|
.Sq .pc
|
|
|
|
files are looked up.
|
|
|
|
.It Va PKG_CONFIG_LIBDIR
|
|
|
|
List of primary directories where
|
2015-02-02 23:17:03 +00:00
|
|
|
.Sq .pc
|
|
|
|
files are looked up.
|
|
|
|
.It Va PKG_CONFIG_SYSROOT_DIR
|
|
|
|
.Sq sysroot
|
|
|
|
directory, will be prepended to every path defined in
|
|
|
|
.Va PKG_CONFIG_PATH .
|
|
|
|
Useful for cross compilation.
|
2016-11-16 04:52:07 +00:00
|
|
|
.It Va PKG_CONFIG_TOP_BUILD_DIR
|
|
|
|
Provides an alternative setting for the
|
|
|
|
.Sq pc_top_builddir
|
|
|
|
global variable.
|
|
|
|
.It Va PKG_CONFIG_PURE_DEPGRAPH
|
|
|
|
If set, enables the same behaviour as the
|
|
|
|
.Fl -pure
|
|
|
|
flag.
|
|
|
|
.It Va PKG_CONFIG_SYSTEM_INCLUDE_PATH
|
|
|
|
List of paths that are considered system include paths by the toolchain.
|
|
|
|
This is a pkgconf-specific extension.
|
|
|
|
.It Va PKG_CONFIG_SYSTEM_LIBRARY_PATH
|
|
|
|
List of paths that are considered system library paths by the toolchain.
|
|
|
|
This is a pkgconf-specific extension.
|
|
|
|
.It Va PKG_CONFIG_DISABLE_UNINSTALLED
|
|
|
|
If set, enables the same behaviour as the
|
|
|
|
.Fl -no-uninstalled
|
|
|
|
flag.
|
|
|
|
.It Va PKG_CONFIG_LOG
|
|
|
|
.Sq logfile
|
|
|
|
which is used for dumping audit information concerning installed module versions.
|
|
|
|
.It Va PKG_CONFIG_DEBUG_SPEW
|
man: Silence mandoc warnings.
man -Tlint pkgconf
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
man: pkgconf.1:23:24: WARNING: new sentence, new line
man: pkgconf.1:42:15: WARNING: new sentence, new line
man: pkgconf.1:44:73: WARNING: new sentence, new line
man: pkgconf.1:53:63: WARNING: new sentence, new line
man: pkgconf.1:60:58: WARNING: new sentence, new line
man: pkgconf.1:69:66: WARNING: new sentence, new line
man: pkgconf.1:85:56: WARNING: new sentence, new line
man: pkgconf.1:153:7: WARNING: new sentence, new line
man: pkgconf.1:202:43: WARNING: new sentence, new line
https://man.openbsd.org/mandoc.1
2018-04-08 21:22:42 +00:00
|
|
|
If set, enables additional debug logging.
|
|
|
|
The format of the debug log messages is implementation-specific.
|
2017-02-03 19:29:49 +00:00
|
|
|
.It Va PKG_CONFIG_DONT_RELOCATE_PATHS
|
|
|
|
If set, disables the path relocation feature.
|
2015-02-02 23:44:53 +00:00
|
|
|
.El
|
|
|
|
.Sh EXAMPLES
|
|
|
|
Displaying the CFLAGS of a package:
|
|
|
|
.Dl $ pkgconf --cflags foo
|
|
|
|
.Dl -fPIC -I/usr/include/foo
|
2017-12-06 01:52:32 +00:00
|
|
|
.Sh SEE ALSO
|
man: Silence more mandoc warnings
man -Tlint pkgconf
skipping no-space macro
(mdoc) An input line begins with an Ns macro, or the next argument
after an Ns macro is an isolated closing delimiter. The macro is
ignored.
unusual Xr order
(mdoc) In the SEE ALSO section, an Xr macro with a lower section
number follows one with a higher number, or two Xr macros referring
to the same section are out of alphabetical order.
man: pkgconf.1:114:16: WARNING: skipping no-space macro
man: pkgconf.1:114:39: WARNING: skipping no-space macro
man: pkgconf.1:119:14: WARNING: skipping no-space macro
man: pkgconf.1:119:35: WARNING: skipping no-space macro
man: pkgconf.1:119:56: WARNING: skipping no-space macro
man: pkgconf.1:128:28: WARNING: skipping no-space macro
man: pkgconf.1:147:24: WARNING: skipping no-space macro
man: pkgconf.1:217:2: WARNING: unusual Xr order: pc(5) after pkg.m4(7)
man -Tlint pc
whitespace at end of input line
(mdoc, man, roff) Whitespace at the end of input lines is almost
never semantically significant -- but in the odd case where it
might be, it is extremely confusing when reviewing and maintaining
documents.
new sentence, new line
(mdoc) A new sentence starts in the middle of a text line. Start it
on a new input line to help formatters produce correct spacing.
missing -width in -tag list, using 8n
(mdoc) Every Bl macro having the -tag argument requires -width, too.
man: pc.5:17:76: STYLE: whitespace at end of input line
man: pc.5:18:50: WARNING: new sentence, new line
man: pc.5:49:67: WARNING: new sentence, new line
man: pc.5:87:38: WARNING: new sentence, new line
man: pc.5:90:27: WARNING: new sentence, new line
man: pc.5:113:66: WARNING: new sentence, new line
man: pc.5:117:61: WARNING: new sentence, new line
man: pc.5:123:49: WARNING: new sentence, new line
man: pc.5:56:2: WARNING: missing -width in -tag list, using 6n: Bl -tag
man: pc.5:80:2: WARNING: missing -width in -tag list, using 6n: Bl -tag
https://man.openbsd.org/mandoc.1
2018-04-09 16:23:46 +00:00
|
|
|
.Xr pc 5 ,
|
|
|
|
.Xr pkg.m4 7
|