opendht: fix paths in pkg-config file

authored by Alexander Shpilkin and committed by Artturin 8b387ff1 d6ad6c47

+7
+7
pkgs/development/libraries/opendht/default.nix
··· 59 "-DOPENDHT_PUSH_NOTIFICATIONS=ON" 60 ]; 61 62 outputs = [ "out" "lib" "dev" "man" ]; 63 64 meta = with lib; {
··· 59 "-DOPENDHT_PUSH_NOTIFICATIONS=ON" 60 ]; 61 62 + # https://github.com/savoirfairelinux/opendht/issues/612 63 + postPatch = '' 64 + substituteInPlace CMakeLists.txt \ 65 + --replace '\$'{exec_prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \ 66 + --replace '\$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR} 67 + ''; 68 + 69 outputs = [ "out" "lib" "dev" "man" ]; 70 71 meta = with lib; {