pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc vs built-in openssl when using pkg-config to build 3rd party software



0.28 does have --libs-only-other.  On netbsd-6, with mostly 2014Q1
pkgsrc:

gdt 1 ~ > pkg-config --version
0.28
gdt 2 ~ > pkg-config --help
Usage:
  pkg-config [OPTION...]

Help Options:
  -h, --help                              Show help options

Application Options:
  --version                               output version of pkg-config
  --modversion                            output version for package
  --atleast-pkgconfig-version=VERSION     require given version of pkg-config
  --libs                                  output all linker flags
  --static                                output linker flags for static linking
  --short-errors                          print short errors
  --libs-only-l                           output -l flags
  --libs-only-other                       output other libs (e.g. -pthread)
  --libs-only-L                           output -L flags
  --cflags                                output all pre-processor and compiler 
flags
  --cflags-only-I                         output -I flags
  --cflags-only-other                     output cflags not covered by the 
cflags-only-I option
  --variable=NAME                         get the value of variable named NAME
  --define-variable=NAME=VALUE            set variable NAME to VALUE
  --exists                                return 0 if the module(s) exist
  --print-variables                       output list of variables defined by 
the module
  --uninstalled                           return 0 if the uninstalled version 
of one or more module(s) or their dependencies will be used
  --atleast-version=VERSION               return 0 if the module is at least 
version VERSION
  --exact-version=VERSION                 return 0 if the module is at exactly 
version VERSION
  --max-version=VERSION                   return 0 if the module is at no newer 
than version VERSION
  --list-all                              list all known packages
  --debug                                 show verbose debug information
  --print-errors                          show verbose information about 
missing or conflicting packages (default unless --exists or 
--atleast/exact/max-version given on the command line)
  --silence-errors                        be silent about errors (default when 
--exists or --atleast/exact/max-version given on the command line)
  --errors-to-stdout                      print errors from --print-errors to 
stdout not stderr
  --print-provides                        print which packages the package 
provides
  --print-requires                        print which packages the package 
requires
  --print-requires-private                print which packages the package 
requires for static linking


gdt 3 ~ > pkg-config --libs-only-other atk
-Wl,-R/usr/pkg/lib 

Attachment: pgpn61UAE4EDG.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index