Hi, I am one of the maintainers for the Perl module ExtUtils::PkgConfig, which is available on CPAN.
We have been getting failure reports from CPAN's automated testing system for ExtUtils::PkgConfig on OpenBSD[1]. I did some digging last night, and I found out that the replacement /usr/bin/pkg-config does not honor the --max-version command line switch, which the tests in ExtUtils::PkgConfig exercise as part of the test suite for that module. I've attached a patch to the version of pkg-config currently in OpenBSD's CVS tree (1.75)[2] that fixes the issue. I'm going to guess it was a copy/paste issue that introduced the bug. I've tested this patch on the installed version of /usr/bin/pkg-config on OpenBSD 5.2 and the currently released version of ExtUtils::PkgConfig from CPAN (1.13), and all of the tests for that Perl module now pass. Thanks, Brian [1] http://www.cpantesters.org/cpan/report/d2fbd25c-3bec-11e2-8669-e1a096fec937 [2] http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/pkg-config/pkg-config [demime 1.01d removed an attachment of type application/octet-stream which had a name of pkg-config.patch]
