pkg-config file contains wrong prefix path
Description:
The pkg-config/.pc file contains a wrong prefix
path:
$ cat /usr/lib/pkgconfig/rapidcheck.pc
Name: rapidcheck
Description: C++ framework for property based testing inspired by QuickCheck and other similar frameworks
Version:
Requires:
prefix=/build/rapidcheck/pkg/rapidcheck/usr
includedir=${prefix}/include
libdir=${prefix}/lib
Libs:
Cflags: -I${includedir}
prefix
points to /build/rapidcheck/pkg/rapidcheck/usr
, although it should point to /usr
.
I think, this is caused by CMAKE_INSTALL_PREFIX
being set to $pkgdir/usr/
in PKGBUILD, but it should be set to /usr
, according to the CMake package guidelines.
Additional info:
-
package version(s): r1056.ff6af6f-4
-
link to upstream bug report, if any: https://github.com/emil-e/rapidcheck/issues/324
Edited by Stephan Creutz