=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/pkg-config/pkg-config.1,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/pkg-config/pkg-config.1 2006/11/28 01:54:14 1.5 --- src/usr.bin/pkg-config/pkg-config.1 2006/11/28 08:11:04 1.6 *************** *** 1,4 **** ! .\" $OpenBSD: pkg-config.1,v 1.5 2006/11/28 01:54:14 ckuethe Exp $ .\" .\" Copyright (c) 2006 Chris Kuethe .\" --- 1,4 ---- ! .\" $OpenBSD: pkg-config.1,v 1.6 2006/11/28 08:11:04 jmc Exp $ .\" .\" Copyright (c) 2006 Chris Kuethe .\" *************** *** 15,21 **** .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .Dd November 27, 2006 ! .Dt pkg-config 1 .Os .Sh NAME .Nm pkg-config --- 15,21 ---- .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .Dd November 27, 2006 ! .Dt PKG-CONFIG 1 .Os .Sh NAME .Nm pkg-config *************** *** 30,48 **** utility retreives metadata about the installation of software packages. This metadata includes version, compiler and linker flags, and dependency information. ! It is inspired by, and intended to operate as a drop-in replacement to the ! program of the same name available from freedesktop.org. .Pp Metadata is stored in files named after the package they describe; the Yoyodyne package would likely be described by "yoyodyne.pc". Not all software packages provide .Nm ! metadata. Packages controlled by the .Xr ports 7 system store their metadata, if provided, in .Pa ${LOCALBASE}/lib/pkgconfig ; the X Window System stores its metadata in ! .Pa ${X11BASE}/lib/pkgconfig. The .Nm utility will search these locations by default. --- 30,49 ---- utility retreives metadata about the installation of software packages. This metadata includes version, compiler and linker flags, and dependency information. ! It is inspired by, and intended to operate as a drop-in replacement to, ! the program of the same name available from freedesktop.org. .Pp Metadata is stored in files named after the package they describe; the Yoyodyne package would likely be described by "yoyodyne.pc". Not all software packages provide .Nm ! metadata. ! Packages controlled by the .Xr ports 7 system store their metadata, if provided, in .Pa ${LOCALBASE}/lib/pkgconfig ; the X Window System stores its metadata in ! .Pa ${X11BASE}/lib/pkgconfig . The .Nm utility will search these locations by default. *************** *** 52,58 **** attempts to output the full set of compiler or linker flags required to use a package, it will also output the flags required for any prerequisite packages. ! If the "foo" package depends on the bar package, "pkg-config --cflags foo" might output something like "-I/usr/local/include/foo -I/usr/local/include/bar", even though the compiler flags for "bar" were not explicitly requested. --- 53,59 ---- attempts to output the full set of compiler or linker flags required to use a package, it will also output the flags required for any prerequisite packages. ! If the "foo" package depends on the "bar" package, "pkg-config --cflags foo" might output something like "-I/usr/local/include/foo -I/usr/local/include/bar", even though the compiler flags for "bar" were not explicitly requested. *************** *** 82,88 **** Exit with error if the version of .Nm is greater than or equal to the specified version. - .It Fl -cflags Return all compiler flags required to compile against the package. .It Fl -cflags-only-I --- 83,88 ---- *************** *** 90,96 **** .It Fl -cflags-only-other Return all compiler flags, other than the include path flags, required to compile against the package. - .It Fl -libs Return all linker flags required to linker against the package. .It Fl -libs-only-l --- 90,95 ---- *************** *** 102,108 **** .It Fl -libs-only-other Return linker flags, other than the library and path flags, required to compile against the package. - .It Fl -exists Return true if all the specified packages are installed. This is the default if no other option is given. --- 101,106 ---- *************** *** 130,136 **** package files. If given, this list of paths is prepended to the standard search path. .El - .Pp .Sh SEE ALSO .Xr pkg_info 1 , .Xr ports 7 --- 128,133 ----