Skip to content

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:

Edited by Stephan Creutz
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information