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: Libs: ${pc_top_builddir}/${pcfiledir}/foo.la Cflags: -I${pc_top_builddir}/${pcfiledir} 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 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.