summaryrefslogtreecommitdiff
path: root/usr.bin/pkg-config
AgeCommit message (Collapse)Author
2012-03-19GNU's pkg-config added PREFIX/share/pkgconfig/ as a search path 4 yearsAntoine Jacoutot
ago. It is mostly used to store arch-independant dot.pc files (although not always); so add this directory to our search path as well (will ease porters' work). While here, also add X11BASE/share/pkgconfig since X.org seems to do the same (req. by matthieu@) ok dcoppa@ fgsch@ phessler@
2011-11-17 - Fix parts of xenocara on static arches such as vax.Jasper Lievisse Adriaanse
reported by todd@ and sebastia@ tested by sebastia@ with xdm on vax.
2011-09-25tweak previous; ok jasperJason McIntyre
2011-09-20add a blurb to caveats about variable expansions to multiple valuesJasper Lievisse Adriaanse
2011-07-08- pretend we're 0.26. there were no changes in 0.26 thatJasper Lievisse Adriaanse
would remotely apply to us
2011-06-25add CAVEATS section explaining some of the differences between thisJasper Lievisse Adriaanse
and the fd.o implementation feedback/ok jmc@
2011-06-20- Adjust Getopts() hash to align options with values.Jasper Lievisse Adriaanse
- Tweak comment about static libs.
2011-06-20- implement --static, and preserve dependency order,Jasper Lievisse Adriaanse
instead of search order when printing the libraries required for linking. this now passes our --static regress tests and matches fd.o
2011-06-16- finally unconfuse emacs by using parentheses for split()Jasper Lievisse Adriaanse
2011-06-16fix printrequiresprivate-mode name in a testJasper Lievisse Adriaanse
2011-06-15- only process Requires.private if needed (--cflags, --static or ↵Jasper Lievisse Adriaanse
--print-requires-private) - process Requires.private before processing Requires, order matters these are first steps towards a working --static. static doesn't work yet as libraries get re-ordered in a funky way.
2011-06-12tweak the virtual pkg-config configJasper Lievisse Adriaanse
2011-06-12- rename pr_* to say_* to be consistent with perl (prompted by espie@)Jasper Lievisse Adriaanse
- move actual printing to STDERR to one place, this makes it easier to: - honor $mode{estdout} (--errors-to-stdout) which was silently ignored untill now
2011-06-12- Rename $D to $mode{debug} for consistency.Jasper Lievisse Adriaanse
- Factorize lots of prints into a common debug/error subroutine. This reduces unneeded clutter when testing for $mode{printerr} or $mode{debug}. Will be adjusted further when fixing --errors-to-stdout
2011-06-12- fix commentJasper Lievisse Adriaanse
- style nit
2011-06-12- fix version comparison by adjusting the regex which decides aboutJasper Lievisse Adriaanse
what is an operator and what is a valid version. (all version comparison regress tests pass now) - add back 'rc' support ok sthen@
2011-06-11- add check for empty filesJasper Lievisse Adriaanse
- only do the above check, and print an error if we lack a required field if $mode{printerr}. - put code setting $D together
2011-06-09*** empty log message ***Jasper Lievisse Adriaanse
2011-06-09whitespace cleanupJasper Lievisse Adriaanse
2011-06-09fix version comparison when we ask for "alpha > 0.1.0" and the version ofJasper Lievisse Adriaanse
alpha is 0.1.0alpha2. doing "alpha > 0.1.0alpha2" doesn't work yet.
2011-06-07revert 'rc' handling for now, as it breaks iaxclient.Jasper Lievisse Adriaanse
the underlying issue will be dealt with soon. discussed with and ok sthen@
2011-06-07prevent stringize from messing up the Name fieldJasper Lievisse Adriaanse
2011-06-07Don't try to parse the requirements for a module if only modversion orJasper Lievisse Adriaanse
printprovides are requested.
2011-06-06fix PKG_CONFIG_LOG as the first argument to beautify_list() was incorrectJasper Lievisse Adriaanse
2011-06-06rename PKG_CONFIG_LOGFILE to PKG_CONFIG_LOG to match fd.oJasper Lievisse Adriaanse
2011-06-06fix spello in...er...my own name.Jasper Lievisse Adriaanse
2011-06-06Add AUTHORS sectionJasper Lievisse Adriaanse
"sure" espie@, ok jmc@
2011-06-06- style tweaks by espie@Jasper Lievisse Adriaanse
- bump version to 0.25
2011-06-06move simple numeric comparison to a single routine, instead of duplicating itJasper Lievisse Adriaanse
2011-06-06also handle the 'rc' suffixJasper Lievisse Adriaanse
2011-06-06First steps of teaching pkg-config about 'alpha' and 'beta' versions.Jasper Lievisse Adriaanse
The order is 'alpha' < 'beta' < ' ' , and the common shorts 'a' and 'b' are also accepted. It may have some rought edges, but they will be dealt with later. tested in a full bulk by me, reads good to landry@
2011-06-02Revert previous; changes linking order for pkg-config --libs, breaking X on VAX.Stuart Henderson
Found by matthieu@
2011-05-25memoize handle_config; is not a slow routine per se, but we spendJasper Lievisse Adriaanse
a lot of time in it, so cache the return values. The most gain is from configure scripts/build commands which query several modules at the same time. this results in as much as a 40% speedup for those pkg-config invocations. tested in a bulk/ok landry@
2011-05-18Simplify code in handle_config() by folding two almost identicalJasper Lievisse Adriaanse
blocks into an anonymous sub.
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@