Merge pull request #282823 from K900/kdsoap-fix

kdsoap: fix after update
This commit is contained in:
K900 2024-01-22 11:57:38 +03:00 committed by GitHub
commit ea9d6a9ddd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,10 +28,8 @@ in stdenv.mkDerivation rec {
postInstall = ''
moveToOutput bin/kdwsdl2cpp* "$dev"
sed -i "$out/lib/cmake/${cmakeName}/KDSoapTargets.cmake" \
-e "/^ INTERFACE_INCLUDE_DIRECTORIES/ c INTERFACE_INCLUDE_DIRECTORIES \"$dev/include\""
sed -i "$out/lib/cmake/${cmakeName}/KDSoapTargets-release.cmake" \
-e "s@$out/bin@$dev/bin@"
substituteInPlace "$out/lib/cmake/${cmakeName}/KDSoapTargets-release.cmake" \
--replace $out/bin $dev/bin
'';
meta = with lib; {