summaryrefslogtreecommitdiff
path: root/usr.bin/pkg-config
AgeCommit message (Collapse)Author
2011-03-21fix audacity. Make specs like >= 0.14.2b kosherMarc Espie
(missed by landry's bulk, obviously).
2011-03-18- spellingJasper Lievisse Adriaanse
2011-03-18- when a newer version of an installed package is requested, print the URLJasper Lievisse Adriaanse
where to find a newer version, if possible. matches fd.o pkg-config.
2011-03-18- assert copyrightJasper Lievisse Adriaanse
ok ckuethe@
2011-03-18format the message when a module doesn't validate more like fd.o pkg-config, ↵Jasper Lievisse Adriaanse
which will also be printed when PKG_CONFIG_DEBUG_SPEW isn't set.
2011-03-18add a 'pc_path' variable to the pkg-config.pc cache entry.Jasper Lievisse Adriaanse
this variable will return the paths where pkg-config searches for .pc files, when queried.
2011-03-18- add basic validation for .pc files, at least Name, Description and Version ↵Jasper Lievisse Adriaanse
have to be set. this is what fd.o pkg-config requires at least.
2011-03-18fix a small buglet when PKG_CONFIG_SYSROOT_DIR was set, it only handled the ↵Jasper Lievisse Adriaanse
first occurence of -I/-L correctly but didn't prepend the sysroot to later occurences, now it does. no functional change when PKG_CONFIG_SYSROOT_DIR wasn't set.
2011-03-18minor related tweaks:Marc Espie
- use //= instead of if (!defined) - don't special-case code for pkg-config itself, prime cache with versioning info. - more accurate regexps for parsing arguments - don't use join() when we mean map() leads to: - fix bug in argument splitting, zap ", " used as argument separation. okay jasper@, tested by landry@
2011-03-14- sync help() after recent additionsJasper Lievisse Adriaanse
2011-03-14whitespace cleanupJasper Lievisse Adriaanse
2011-03-14- implement PKG_CONFIG_SYSROOT_DIRJasper Lievisse Adriaanse
- bump version to 0.23
2011-03-10- make this easier to readJasper Lievisse Adriaanse
2011-03-10- implement several more options that will be needed to bump to 0.24Jasper Lievisse Adriaanse
(--print-provides, --print-requires and --print-requires-private) ok ckuethe@
2011-03-10- document all the environment variables that pkg-config honorsJasper Lievisse Adriaanse
ok ckuethe@ jmc@
2011-03-10honor PKG_CONFIG_DEBUG_SPEW, which is like our --debug optionJasper Lievisse Adriaanse
ok ckuethe@
2011-03-07- style consistencyJasper Lievisse Adriaanse
ok ckuethe@
2010-12-28- add /usr/lib/pkgconfig/ to the paths to look for .pc files, and searchJasper Lievisse Adriaanse
there first (as the original pkgconfig does too).
2010-09-29it's valid syntax for .pc files to have:Jasper Lievisse Adriaanse
Requires: pkg-config >= 0.21 out pkg-config couldn't handle it, as pkg-config(1) doesn't install a .pc file to check this dependency against. fd.o pkg-config deals with this by treating this as a special case; adapt ours to do the same. tested in a ports bulk build and xenocara build ok ckuethe@ sthen@
2010-09-18claim that we are pkg-config 0.22; ok ajacoutot@ ckuethe@Stuart Henderson
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2009-06-21fix PKG_CONFIG_PATH handling per system/6174. tested with xenocara buildChris Kuethe
and a bunch of ports
2008-10-26- make pkg-config recognize --short-errorsJasper Lievisse Adriaanse
- bump the version we're pretending to be to 0.21 ok ckuethe@ ajacoutot@
2008-09-06Calling --help shouldn't be an error condition, so exit with status 0Simon Bertrang
instead of 1, and make it consistent with gnu. ok ckuethe@
2008-08-21Add an optional separator to stringize() and use it from do_list() toSimon Bertrang
match the GNU pkg-config --list-all output. ok ckuethe@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-15- add missing word: from alek; ok sturmJason McIntyre
- sort options: from Igor Sobrado
2007-02-18missing full stop; from Daniel MaticJason McIntyre
2007-02-01handle errors reading .pc files in --list gracefully.Marc Espie
2006-12-16tweak slightly: not having the variable is okay, not finding the packageMarc Espie
is still an error.
2006-12-16it's not an error for a variable not to be defined for some/all of theMarc Espie
*.pc files, see x11/gnome/yelp.
2006-12-14do not display result if $rc != 0, fixes cases likeMarc Espie
LIBS=`pkg-config --libs foo`, like in net/ekg
2006-12-14add PKG_CONFIG_LIBDIR, okay bernd@Marc Espie
2006-12-10trivial change: comparing versions on a non-existent config is not a goodMarc Espie
idea...
2006-12-09reorg code some more:Marc Espie
- handle most version number requirements. - handle uninstalled packages correctly. - process options in the same order as the gnu pkg-config. - sanitize status code returns. - set up printerr the same way gnu pkg-config does. tested on xenocara by matthieu@ Still missing: actual --static implementation, and possibly some other details...
2006-12-04do the proper dance to order libary dependencies, let modversion doMarc Espie
what it should, start at proper version checking. Also displays more diagnostic messages like the real pkg-config does. okay ckuethe@, matthieu@, fries (and a small extra addition of a mismatch diagnostic). Make sure PkgConfig.pm is synch'ed! won't work otherwise.
2006-12-04retreive -> retrieve; from daniel maticJason McIntyre
2006-12-02typo in error messageMarc Espie
2006-12-02rely on PkgConfig.pm, and so really parse the *.pc files.Marc Espie
handle --define-variable handle multiple dependencies in the correct order, so that linking will work with complex requirements. okay ckuethe@, matthieu@
2006-12-01make things vaguely declared where they belongMarc Espie
2006-11-29- tweak text on which options are defaultJason McIntyre
- merge --help and --usage - .Ex ok ckuethe
2006-11-29typo;Jason McIntyre
2006-11-29- sort options (discussed with ckuethe)Jason McIntyre
- there is no benefit in using Fl when options take `--'; use Cm instead
2006-11-28tweaks;Jason McIntyre
2006-11-28Remove a debug print i accidentally left behindChris Kuethe
2006-11-28Sync usage with manpageChris Kuethe
2006-11-28Add the --silence-errors option. Found by naddy@Chris Kuethe
2006-11-28Nicer descriptions of --atleast*version and and --existsChris Kuethe
2006-11-28Allow "pkg-config --modversion" to work. Reported by naddy@Chris Kuethe
2006-11-28Move a sentence and talk a bit about dependency resolution.Chris Kuethe