[BACK]Return to pkg-config.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / pkg-config

Diff for /src/usr.bin/pkg-config/pkg-config.1 between version 1.5 and 1.6

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

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6