Skip to content
Snippets Groups Projects
Closed pkg-config file contains wrong prefix path
  • View options
  • pkg-config file contains wrong prefix path

  • View options
  • Closed Issue created by Stephan Creutz

    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

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading