After updating the OpenSolaris build system to use pkg-config 0.25 we noticed that several modules do not build properly anymore. For example, we notice problems when building ORBit2, audiofile, esound, and bonobo.
Note that on OpenSolaris, we often build with uninstalled.pc files where Cflags and Libs are defined like this:
When using such uninstalled.pc files, it looks like pkg-config v0.25 escapes the chars '$', '(' and ')', while the old version v0.23 does not. Something like this:
New version returns: "\$\(top_builddir\)/../..."
Old version returns: "$(top_builddir)/../..."
Thus the escaped string of Cflags and Libs are not converted correctly in the Makefile, causing build failures.
I know that pkg-config 0.24 had similar problems that were fixed, but perhaps the
uninstalled.pc case has not been fixed?
*** This bug has been marked as a duplicate of bug 33920 ***