summaryrefslogtreecommitdiff
path: root/usr.bin/pkg-config
AgeCommit message (Collapse)Author
2019-12-08cosmetic changes to conform to style of other existing OpenBSD code.Marc Espie
Okay jasper@
2019-08-02add the missing .An -nosplitIngo Schwarze
2019-02-04add support for defining variables through the environmentJasper Lievisse Adriaanse
this uses the PKG_CONFIG_$PACKAGE_$VARIABLE format as implemented in fd.o pkg-config 0.29.1; bump our version accordingly.
2019-02-04implement compat with fd.o pkg-config 0.29.0:Jasper Lievisse Adriaanse
- add --validate flag which is like --exists but slightly more verbose and doesn't process dependencies - bump version to 0.29.0 while here, adjust message about missing fields to match the upstream fd.o message, instead of referencing the filename we should print the packagename tested in a bulk by aja@
2018-05-18negative assertions only work well on constant-width regexp, do thingsMarc Espie
the hard way: cut on space, THEN coalesce stuff wrt <=> signs. okay jasper@, aja@
2017-08-26Don't remove subpaths of /usr/include or /usr/lib from the output ofJonathan Gray
--cflags and --libs. ok jasper@
2017-08-15Strip out -I/usr/include and -L/usr/lib from the --cflags/--libs output.Jasper Lievisse Adriaanse
fd.o pkg-config doesn't emit them either, and libpng now exposed the issue as tracked down by naddy@
2017-08-15remove vax leftoverJasper Lievisse Adriaanse
2016-08-07Update online manual path to man.openbsd.org.Theo Buehler
ok espie
2015-10-26Don't reject properties with no whitespace after the colon; it's perfectlyJasper Lievisse Adriaanse
valid to have a line like 'Requires:requiree'. Confirmed with fd.o and this fixes using the libczmq pc file
2015-10-11handle comma separated list of arguments, i.e. pkg-config --exists ↵Jasper Lievisse Adriaanse
gcr-3,gcr-base-3
2015-02-28Reduce usage of predefined strings in manpages.Anthony J. Bentley
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@
2014-11-17Activate support for "package != version" requests, this time withJeremie Courreges-Anglas
jasper's proper ok. Tested with i386/amd64 xenocara builds, plus bulk ports builds on amd64 (thx landry@).
2014-11-02revert, i did NOT ok this diff which bears no proof of testing in a bulk or ↵Jasper Lievisse Adriaanse
xenocara
2014-11-02Allow for requests such as "foo != some.version".Jeremie Courreges-Anglas
The code was already there but unreachable. ok jasper@
2014-07-10fix version comparison for openssl-like versions (1.0.1g etc)Jasper Lievisse Adriaanse
found, tested and OK sthen@
2014-07-09small alignment tweakJasper Lievisse Adriaanse
2014-03-31if it looks like a variable, expands like a variable and resolves like aJasper Lievisse Adriaanse
variable, then it need not be a variable. add a way out the variable expansion loop when the returned value from the values hash looks like a variable. this resolves an issue where using --define-variable=libdir=${libdir} would create and infinite loop of looking up the value of libdir. such as triggered by the x11/gnome/empathy configure script. tested in a bulk build as well as builds of base and xenocara ok aja@
2014-03-18zap "my $_" for reading STDIN.Marc Espie
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-06-12drop any quotes from variables when pulling them out of the .pc file;Jasper Lievisse Adriaanse
fixes parsing of the upstream freetype2.pc file. original issue spotted by matthieu@ w/ espie@
2013-05-30adjust error message for empty files to display the full path to the file,Jasper Lievisse Adriaanse
helps in case the file exists in multiple locations. this also matches fd.o.
2013-03-31m88k has shared libs now.Brad Smith
ok jasper@
2013-03-28allow passing a full path to a .pc file, instead of just the module name.Jasper Lievisse Adriaanse
fd.o pkg-config allows this and some ports landry's working on depend on it. tested in a bulk by landry@, thanks
2012-12-10Document --{exact,max}-versionJasper Lievisse Adriaanse
2012-12-08fix a pasto which broke (or rather, disabled) --max-versionJasper Lievisse Adriaanse
from Brian Manning (upstream ExtUtils::PkgConfig maintainer)
2012-10-09- bump the version to match fd.o's 0.27.1 release.Jasper Lievisse Adriaanse
2012-10-09- also check Requires.private for --exists.Jasper Lievisse Adriaanse
2012-07-28Return a proper error message when we end up needed to parseJasper Lievisse Adriaanse
packages, but none were provided. Similar to what fd.o does.
2012-07-08zap weird precision (if provided) that's not really relevant to anythingMarc Espie
2012-07-08Remove the "Variables" chapter from CAVEATS now that it's been fixed.Antoine Jacoutot
ok jasper@
2012-07-08fix ajacoutot's whining (i wish...)Marc Espie
okay jasper@
2012-07-04fix the static arch fix. don't remove duplicates, but don't forget toMarc Espie
reverse either ! okay jasper@
2012-06-11move PkgConfig.pm where it belongsMarc Espie
as requested by matthieu@, ok jasper@, miod@, matthieu@
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@