Commit 2239556 patched the pkg-config files during installation, but
forgot to escape references to the prefix variable. The result is that the
prefix substitution in upstream generates "/lib/new/prefix" instead of
"/new/prefix/lib".
Instead, use "libdir" and "includedir" variables in the pkgconfig file,
which are easier to patch during install.
Commit 2239556 patched the pkg-config files during installation, but forgot to escape references to the prefix variable. The result is that the prefix substitution in upstream generates "/lib/new/prefix" instead of "/new/prefix/lib".
Instead, use "libdir" and "includedir" variables in the pkgconfig file, which are easier to patch during install.