=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/pkg-config/pkg-config.1,v retrieving revision 1.17 retrieving revision 1.18 diff -c -r1.17 -r1.18 *** src/usr.bin/pkg-config/pkg-config.1 2011/03/10 19:13:14 1.17 --- src/usr.bin/pkg-config/pkg-config.1 2011/03/14 08:35:08 1.18 *************** *** 1,4 **** ! .\" $OpenBSD: pkg-config.1,v 1.17 2011/03/10 19:13:14 jasper Exp $ .\" .\" Copyright (c) 2006 Chris Kuethe .\" --- 1,4 ---- ! .\" $OpenBSD: pkg-config.1,v 1.18 2011/03/14 08:35:08 jasper Exp $ .\" .\" Copyright (c) 2006 Chris Kuethe .\" *************** *** 14,20 **** .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ! .Dd $Mdocdate: March 10 2011 $ .Dt PKG-CONFIG 1 .Os .Sh NAME --- 14,20 ---- .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ! .Dd $Mdocdate: March 14 2011 $ .Dt PKG-CONFIG 1 .Os .Sh NAME *************** *** 154,159 **** --- 154,169 ---- This can be used to specify a colon-separated list of paths to search for package files. If given, this list of paths is prepended to the standard search path. + .It Ev PKG_CONFIG_SYSROOT_DIR + This modifies + .Fl I + and + .Fl L + to use the target sysroot directory. + Thus -I/usr/local/include will become -I/target/usr/local/include when + PKG_CONFIG_SYSROOT_DIR is set to /target, which is useful when crosscompiling + packages that use + .Nm . .It Ev PKG_CONFIG_TOP_BUILD_DIR If set .Nm