Right now, on prefix, pkgconfig fails one test. I'm pretty sure this is because it assumes /usr is the canonical prefix in the test-suite but goes with gcc's built-in CFLAGS at runtime... anyhow, whatever the etiology, the enclosed patch seems correct enough and allows all the tests to pass. Reproducible: Always Steps to Reproduce: 1. Be in a prefix gentoo 2. USE=test emerge -1 dev-util/pkgconfig Actual Results: 11/12 tests pass Expected Results: 12/12 tests pass pretty anal but that's how I roll :)
Created attachment 323208 [details, diff] Fix cflags test on prefix - patch against pkgconfig-0.27.1.ebuild
makes sense to me
+ 30 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> pkgconfig-0.27.1.ebuild, + pkgconfig-9999.ebuild: + Fix for tests under Prefix, wrt bug #434320. Thanks to Greg Turner for + discovering and resolving this issue